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

Side by Side Diff: chrome/browser/spellchecker/spelling_service_client.h

Issue 15906011: Use a direct include of strings headers in chrome/browser/r*-s*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/string16.h" 15 #include "base/strings/string16.h"
16 #include "net/url_request/url_fetcher_delegate.h" 16 #include "net/url_request/url_fetcher_delegate.h"
17 17
18 class GURL; 18 class GURL;
19 class Profile; 19 class Profile;
20 class TextCheckClientDelegate; 20 class TextCheckClientDelegate;
21 struct SpellCheckResult; 21 struct SpellCheckResult;
22 22
23 namespace net { 23 namespace net {
24 class URLFetcher; 24 class URLFetcher;
25 } // namespace net 25 } // namespace net
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Creates a URLFetcher object used for sending a JSON-RPC request. This 111 // Creates a URLFetcher object used for sending a JSON-RPC request. This
112 // function is overridden by unit tests to prevent them from actually sending 112 // function is overridden by unit tests to prevent them from actually sending
113 // requests to the Spelling service. 113 // requests to the Spelling service.
114 virtual net::URLFetcher* CreateURLFetcher(const GURL& url); 114 virtual net::URLFetcher* CreateURLFetcher(const GURL& url);
115 115
116 // The URLFetcher object used for sending a JSON-RPC request. 116 // The URLFetcher object used for sending a JSON-RPC request.
117 std::map<const net::URLFetcher*, TextCheckCallbackData*> spellcheck_fetchers_; 117 std::map<const net::URLFetcher*, TextCheckCallbackData*> spellcheck_fetchers_;
118 }; 118 };
119 119
120 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_ 120 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLING_SERVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698