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

Side by Side Diff: content/browser/webui/web_ui_data_source_impl.h

Issue 102593002: Convert string16 to base::string16 in content. (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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_
6 #define CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_ 6 #define CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 namespace content { 21 namespace content {
22 22
23 // A data source that can help with implementing the common operations 23 // A data source that can help with implementing the common operations
24 // needed by the chrome WEBUI settings/history/downloads pages. 24 // needed by the chrome WEBUI settings/history/downloads pages.
25 class CONTENT_EXPORT WebUIDataSourceImpl 25 class CONTENT_EXPORT WebUIDataSourceImpl
26 : public NON_EXPORTED_BASE(URLDataSourceImpl), 26 : public NON_EXPORTED_BASE(URLDataSourceImpl),
27 public NON_EXPORTED_BASE(WebUIDataSource) { 27 public NON_EXPORTED_BASE(WebUIDataSource) {
28 public: 28 public:
29 // WebUIDataSource implementation: 29 // WebUIDataSource implementation:
30 virtual void AddString(const std::string& name, 30 virtual void AddString(const std::string& name,
31 const string16& value) OVERRIDE; 31 const base::string16& value) OVERRIDE;
32 virtual void AddString(const std::string& name, 32 virtual void AddString(const std::string& name,
33 const std::string& value) OVERRIDE; 33 const std::string& value) OVERRIDE;
34 virtual void AddLocalizedString(const std::string& name, int ids) OVERRIDE; 34 virtual void AddLocalizedString(const std::string& name, int ids) OVERRIDE;
35 virtual void AddLocalizedStrings( 35 virtual void AddLocalizedStrings(
36 const base::DictionaryValue& localized_strings) OVERRIDE; 36 const base::DictionaryValue& localized_strings) OVERRIDE;
37 virtual void AddBoolean(const std::string& name, bool value) OVERRIDE; 37 virtual void AddBoolean(const std::string& name, bool value) OVERRIDE;
38 virtual void SetJsonPath(const std::string& path) OVERRIDE; 38 virtual void SetJsonPath(const std::string& path) OVERRIDE;
39 virtual void SetUseJsonJSFormatV2() OVERRIDE; 39 virtual void SetUseJsonJSFormatV2() OVERRIDE;
40 virtual void AddResourcePath(const std::string &path, 40 virtual void AddResourcePath(const std::string &path,
41 int resource_id) OVERRIDE; 41 int resource_id) OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool deny_xframe_options_; 101 bool deny_xframe_options_;
102 bool disable_set_font_strings_; 102 bool disable_set_font_strings_;
103 bool replace_existing_source_; 103 bool replace_existing_source_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(WebUIDataSourceImpl); 105 DISALLOW_COPY_AND_ASSIGN(WebUIDataSourceImpl);
106 }; 106 };
107 107
108 } // content 108 } // content
109 109
110 #endif // CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_ 110 #endif // CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | content/browser/webui/web_ui_data_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698