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

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

Issue 11635063: [Spellcheck] Removing the "no more suggestions from Google" line when using the spelling service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleaning code Created 8 years 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
Index: chrome/browser/spellchecker/spelling_service_client.h
diff --git a/chrome/browser/spellchecker/spelling_service_client.h b/chrome/browser/spellchecker/spelling_service_client.h
index b94caa6974b65ee05bba52eae90754fd00d3f9c9..131e2988e369d30da8da04b2abdcdf2a8808bba1 100644
--- a/chrome/browser/spellchecker/spelling_service_client.h
+++ b/chrome/browser/spellchecker/spelling_service_client.h
@@ -68,6 +68,7 @@ class SpellingServiceClient : public net::URLFetcherDelegate {
typedef base::Callback<void(
int /* tag */,
bool /* success */,
+ SpellingServiceClient::ServiceType type, /* suggest or spellcheck */
const string16& /* text */,
const std::vector<SpellCheckResult>& /* results */)>
TextCheckCompleteCallback;
@@ -115,6 +116,9 @@ class SpellingServiceClient : public net::URLFetcherDelegate {
// When a JSON-RPC call finishes successfully, this value is used as the
// first parameter to |callback_|.
int tag_;
+
+ // The type of spelling request sent;
+ ServiceType type_;
};
#endif // CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698