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

Unified Diff: chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc

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/cocoa_spelling_engine_mac.cc
diff --git a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
index 84826a12ce354fdb00a48a0744d6422680aeb737..ca14fab220e8f52b1f1a7cfc27b2165e98be2e00 100644
--- a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
+++ b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
@@ -28,7 +28,7 @@ bool CocoaSpellingEngine::IsEnabled() {
// Synchronously query against NSSpellCheck.
// TODO(groby): We might want async support here, too. Ideally,
// all engines share a similar path for async requests.
-bool CocoaSpellingEngine::CheckSpelling(const string16& word_to_check,
+bool CocoaSpellingEngine::CheckSpelling(const base::string16& word_to_check,
int tag) {
bool word_correct = false;
RenderThread::Get()->Send(new SpellCheckHostMsg_CheckSpelling(
@@ -40,8 +40,8 @@ bool CocoaSpellingEngine::CheckSpelling(const string16& word_to_check,
// TODO(groby): We might want async support here, too. Ideally,
// all engines share a similar path for async requests.
void CocoaSpellingEngine::FillSuggestionList(
- const string16& wrong_word,
- std::vector<string16>* optional_suggestions) {
+ const base::string16& wrong_word,
+ std::vector<base::string16>* optional_suggestions) {
RenderThread::Get()->Send(new SpellCheckHostMsg_FillSuggestionList(
wrong_word, optional_suggestions));
}
« no previous file with comments | « chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h ('k') | chrome/renderer/spellchecker/custom_dictionary_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698