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

Unified Diff: chrome/renderer/searchbox/searchbox.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
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | chrome/renderer/searchbox/searchbox_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.cc
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc
index 874232c62b20734eca2c602058a7239d88ea7dfe..cfd98fe476548dd54b2369b16c88e33c5943776b 100644
--- a/chrome/renderer/searchbox/searchbox.cc
+++ b/chrome/renderer/searchbox/searchbox.cc
@@ -162,7 +162,7 @@ void SearchBox::LogEvent(NTPLoggingEventType event) {
render_view()->GetRoutingID(), render_view()->GetPageId(), event));
}
-void SearchBox::CheckIsUserSignedInToChromeAs(const string16& identity) {
+void SearchBox::CheckIsUserSignedInToChromeAs(const base::string16& identity) {
render_view()->Send(new ChromeViewHostMsg_ChromeIdentityCheck(
render_view()->GetRoutingID(), render_view()->GetPageId(), identity));
}
@@ -240,7 +240,7 @@ void SearchBox::NavigateToURL(const GURL& url,
disposition, is_most_visited_item_url));
}
-void SearchBox::Paste(const string16& text) {
+void SearchBox::Paste(const base::string16& text) {
render_view()->Send(new ChromeViewHostMsg_PasteAndOpenDropdown(
render_view()->GetRoutingID(), render_view()->GetPageId(), text));
}
@@ -304,7 +304,7 @@ bool SearchBox::OnMessageReceived(const IPC::Message& message) {
return handled;
}
-void SearchBox::OnChromeIdentityCheckResult(const string16& identity,
+void SearchBox::OnChromeIdentityCheckResult(const base::string16& identity,
bool identity_match) {
if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) {
extensions_v8::SearchBoxExtension::DispatchChromeIdentityCheckResult(
@@ -413,7 +413,7 @@ void SearchBox::OnSetSuggestionToPrefetch(const InstantSuggestion& suggestion) {
}
}
-void SearchBox::OnSubmit(const string16& query) {
+void SearchBox::OnSubmit(const base::string16& query) {
query_ = query;
if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) {
DVLOG(1) << render_view() << " OnSubmit";
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | chrome/renderer/searchbox/searchbox_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698