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

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: responding to comments (browsertest, prebind) Created 7 years, 12 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
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..5b55b573b6d75ca48ed711f008e3a6d8e164664b 100644
--- a/chrome/browser/spellchecker/spelling_service_client.h
+++ b/chrome/browser/spellchecker/spelling_service_client.h
@@ -66,7 +66,6 @@ class SpellingServiceClient : public net::URLFetcherDelegate {
SPELLCHECK = 2,
};
typedef base::Callback<void(
- int /* tag */,
bool /* success */,
const string16& /* text */,
const std::vector<SpellCheckResult>& /* results */)>
@@ -83,7 +82,6 @@ class SpellingServiceClient : public net::URLFetcherDelegate {
// does not mean the service finishes checking text successfully.) We will
// call |callback| when we receive a text-check response from the service.
bool RequestTextCheck(Profile* profile,
- int tag,
ServiceType type,
const string16& text,
const TextCheckCompleteCallback& callback);
@@ -110,11 +108,6 @@ class SpellingServiceClient : public net::URLFetcherDelegate {
// The text checked by the Spelling service.
string16 text_;
-
- // The identifier provided by users so they can identify a text-check request.
- // When a JSON-RPC call finishes successfully, this value is used as the
- // first parameter to |callback_|.
- int tag_;
};
#endif // CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter.cc ('k') | chrome/browser/spellchecker/spelling_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698