Removed WebTextCheckingResult legacy API use.
BUG=none
TEST=unit_tests
Review URL: http://codereview.chromium.org/9368052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122429 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/spellchecker/spelling_service_client.h b/chrome/browser/spellchecker/spelling_service_client.h
index 89a561f..ac129270 100644
--- a/chrome/browser/spellchecker/spelling_service_client.h
+++ b/chrome/browser/spellchecker/spelling_service_client.h
@@ -17,10 +17,7 @@
class Profile;
class TextCheckClientDelegate;
-
-namespace WebKit {
-struct WebTextCheckingResult;
-}
+struct SpellCheckResult;
// A class that encapsulates a JSON-RPC call to the Spelling service to check
// text there. This class creates a JSON-RPC request, sends the request to the
@@ -37,7 +34,7 @@
//
// void OnTextCheckComplete(
// int tag,
-// const std::vector<WebKit::WebTextCheckingResult>& results) {
+// const std::vector<SpellCheckResult>& results) {
// ...
// }
//
@@ -55,7 +52,7 @@
public:
typedef base::Callback<void(
int /* tag */,
- const std::vector<WebKit::WebTextCheckingResult>& /* results */)>
+ const std::vector<SpellCheckResult>& /* results */)>
TextCheckCompleteCallback;
SpellingServiceClient();
@@ -76,7 +73,7 @@
private:
// Parses a JSON-RPC response from the Spelling service.
bool ParseResponse(const std::string& data,
- std::vector<WebKit::WebTextCheckingResult>* results);
+ std::vector<SpellCheckResult>* results);
// The URLFetcher object used for sending a JSON-RPC request.
scoped_ptr<content::URLFetcher> fetcher_;