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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.h

Issue 105493002: Use base namespace for string16 in chrome/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/renderer/spellchecker/spellcheck_provider.h
diff --git a/chrome/renderer/spellchecker/spellcheck_provider.h b/chrome/renderer/spellchecker/spellcheck_provider.h
index e9f0c53d37c06d4f93b895b717db7c8a012020da..2ea2d475ef6934c126a88d52cb97afecd157adba 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider.h
+++ b/chrome/renderer/spellchecker/spellcheck_provider.h
@@ -39,7 +39,7 @@ class SpellCheckProvider
// Requests async spell and grammar checker to the platform text
// checker, which is available on the browser process.
void RequestTextChecking(
- const string16& text,
+ const base::string16& text,
blink::WebTextCheckingCompletion* completion,
const std::vector<SpellCheckMarker>& markers);
@@ -64,7 +64,7 @@ class SpellCheckProvider
// Tries to satisfy a spell check request from the cache in |last_request_|.
// Returns true (and cancels/finishes the completion) if it can, false
// if the provider should forward the query on.
- bool SatisfyRequestFromCache(const string16& text,
+ bool SatisfyRequestFromCache(const base::string16& text,
blink::WebTextCheckingCompletion* completion);
// blink::WebSpellCheckClient implementation.
@@ -95,13 +95,13 @@ class SpellCheckProvider
void OnRespondSpellingService(
int identifier,
bool succeeded,
- const string16& text,
+ const base::string16& text,
const std::vector<SpellCheckResult>& results);
#endif
// Returns whether |text| has word characters, i.e. whether a spellchecker
// needs to check this text.
- bool HasWordCharacters(const string16& text, int index) const;
+ bool HasWordCharacters(const base::string16& text, int index) const;
#if defined(OS_MACOSX)
void OnAdvanceToNextMisspelling();
@@ -116,7 +116,7 @@ class SpellCheckProvider
// The last text sent to the browser process to spellcheck it and its
// spellchecking results.
- string16 last_request_;
+ base::string16 last_request_;
blink::WebVector<blink::WebTextCheckingResult> last_results_;
// True if the browser is showing the spelling panel for us.
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_language.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698