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_ |