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

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

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
« no previous file with comments | « chrome/common/content_settings_helper.cc ('k') | chrome/common/custom_handlers/protocol_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/custom_handlers/protocol_handler.h
diff --git a/chrome/common/custom_handlers/protocol_handler.h b/chrome/common/custom_handlers/protocol_handler.h
index 6652ba60e560fcd5ec98663b76ced13b44563444..dc18be53e859c3980968155e1ffb6d24b83eff80 100644
--- a/chrome/common/custom_handlers/protocol_handler.h
+++ b/chrome/common/custom_handlers/protocol_handler.h
@@ -17,7 +17,7 @@ class ProtocolHandler {
public:
static ProtocolHandler CreateProtocolHandler(const std::string& protocol,
const GURL& url,
- const string16& title);
+ const base::string16& title);
// Creates a ProtocolHandler with fields from the dictionary. Returns an
// empty ProtocolHandler if the input is invalid.
@@ -48,7 +48,7 @@ class ProtocolHandler {
const std::string& protocol() const { return protocol_; }
const GURL& url() const { return url_;}
- const string16& title() const { return title_; }
+ const base::string16& title() const { return title_; }
bool IsEmpty() const {
return protocol_.empty();
@@ -66,12 +66,12 @@ class ProtocolHandler {
private:
ProtocolHandler(const std::string& protocol,
const GURL& url,
- const string16& title);
+ const base::string16& title);
ProtocolHandler();
std::string protocol_;
GURL url_;
- string16 title_;
+ base::string16 title_;
};
#endif // CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_
« no previous file with comments | « chrome/common/content_settings_helper.cc ('k') | chrome/common/custom_handlers/protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698