Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: chrome/browser/spellchecker/spelling_service_client.h

Issue 10536141: Add SpellingServiceClient::IsAvailable(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spelling_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spelling_service_client.h
===================================================================
--- chrome/browser/spellchecker/spelling_service_client.h (revision 142020)
+++ chrome/browser/spellchecker/spelling_service_client.h (working copy)
@@ -89,6 +89,9 @@
const string16& text,
const TextCheckCompleteCallback& callback);
+ // Returns whether the specified service is available for the given profile.
+ static bool IsAvailable(Profile* profile, ServiceType type);
+
private:
// Creates a URLFetcher object used for sending a JSON-RPC request. This
// function is overriden by unit tests to prevent them from actually sending
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spelling_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698