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

Side by Side Diff: chrome/common/content_settings_helper.h

Issue 6044007: Remove wstring from TableModel.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h"
12
11 class GURL; 13 class GURL;
12 14
13 namespace content_settings_helper { 15 namespace content_settings_helper {
14 16
15 // Return simplified string representing origin. If origin is using http or 17 // Return simplified string representing origin. If origin is using http or
16 // the standard port, those parts are not included in the output. 18 // the standard port, those parts are not included in the output.
17 std::string OriginToString(const GURL& origin); 19 std::string OriginToString(const GURL& origin);
18 std::wstring OriginToWString(const GURL& origin); 20 string16 OriginToString16(const GURL& origin);
19 21
20 } // namespace content_settings_helper 22 } // namespace content_settings_helper
21 23
22 #endif // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_ 24 #endif // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698