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

Side by Side Diff: chrome/common/content_settings_helper.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_version_info_win.cc ('k') | chrome/common/content_settings_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ 5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
6 #define CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ 6 #define CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 11
12 class GURL; 12 class GURL;
13 13
14 namespace content_settings_helper { 14 namespace content_settings_helper {
15 15
16 // Return simplified string representing origin. If origin is using http or 16 // Return simplified string representing origin. If origin is using http or
17 // the standard port, those parts are not included in the output. 17 // the standard port, those parts are not included in the output.
18 std::string OriginToString(const GURL& origin); 18 std::string OriginToString(const GURL& origin);
19 string16 OriginToString16(const GURL& origin); 19 base::string16 OriginToString16(const GURL& origin);
20 20
21 } // namespace content_settings_helper 21 } // namespace content_settings_helper
22 22
23 #endif // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ 23 #endif // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_version_info_win.cc ('k') | chrome/common/content_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698