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

Unified Diff: content/browser/webui/web_ui_data_source_impl.h

Issue 2391073005: WebUIDataSource::AddInteger (like AddBoolean/AddString) (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/webui/web_ui_data_source_impl.h
diff --git a/content/browser/webui/web_ui_data_source_impl.h b/content/browser/webui/web_ui_data_source_impl.h
index b121d2375c561eb478ed22055144e2171726dedb..223cc1fc54059c2b38c2638e5ffcafb1bc896d1a 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -34,6 +34,7 @@ class CONTENT_EXPORT WebUIDataSourceImpl
void AddLocalizedStrings(
const base::DictionaryValue& localized_strings) override;
void AddBoolean(const std::string& name, bool value) override;
+ void AddInteger(const std::string& name, int value) override;
void SetJsonPath(const std::string& path) override;
void AddResourcePath(const std::string& path, int resource_id) override;
void SetDefaultResource(int resource_id) override;
« no previous file with comments | « no previous file | content/browser/webui/web_ui_data_source_impl.cc » ('j') | content/browser/webui/web_ui_data_source_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698