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

Unified Diff: chrome/common/custom_handlers/protocol_handler.cc

Issue 105473003: Add explicit base namespace to string16 users. (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/common/custom_handlers/protocol_handler.cc
diff --git a/chrome/common/custom_handlers/protocol_handler.cc b/chrome/common/custom_handlers/protocol_handler.cc
index 8b4d893b2b926cf8ae45421515e57ef15fd2a853..f8af6a9000b486547b39d2ca815de836c89a6377 100644
--- a/chrome/common/custom_handlers/protocol_handler.cc
+++ b/chrome/common/custom_handlers/protocol_handler.cc
@@ -11,7 +11,7 @@
ProtocolHandler::ProtocolHandler(const std::string& protocol,
const GURL& url,
- const string16& title)
+ const base::string16& title)
: protocol_(protocol),
url_(url),
title_(title) {
@@ -20,7 +20,7 @@ ProtocolHandler::ProtocolHandler(const std::string& protocol,
ProtocolHandler ProtocolHandler::CreateProtocolHandler(
const std::string& protocol,
const GURL& url,
- const string16& title) {
+ const base::string16& title) {
std::string lower_protocol = StringToLowerASCII(protocol);
return ProtocolHandler(lower_protocol, url, title);
}
@@ -49,7 +49,7 @@ ProtocolHandler ProtocolHandler::CreateProtocolHandler(
return EmptyProtocolHandler();
}
std::string protocol, url;
- string16 title;
+ base::string16 title;
value->GetString("protocol", &protocol);
value->GetString("url", &url);
value->GetString("title", &title);
« no previous file with comments | « chrome/common/custom_handlers/protocol_handler.h ('k') | chrome/common/extensions/api/commands/commands_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698