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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_data_source.h

Issue 10916182: Refactor the about:version code out of about_ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase + lei nit Created 8 years, 3 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: chrome/browser/ui/webui/chrome_web_ui_data_source.h
===================================================================
--- chrome/browser/ui/webui/chrome_web_ui_data_source.h (revision 158638)
+++ chrome/browser/ui/webui/chrome_web_ui_data_source.h (working copy)
@@ -21,10 +21,14 @@
explicit ChromeWebUIDataSource(const std::string& source_name);
ChromeWebUIDataSource(const std::string& source_name, MessageLoop* loop);
- // Adds a string and its equivalent to our dictionary.
+ // Adds a string keyed to its name to our dictionary.
void AddString(const std::string& name, const string16& value);
- // Adds a name and its equivaled localized string to our dictionary.
+ // Adds a string keyed to its name to our dictionary.
+ void AddString(const std::string& name, const std::string& value);
+
+ // Adds a localized string with resource |ids| keyed to its name to our
+ // dictionary.
void AddLocalizedString(const std::string& name, int ids);
// Add strings from |localized_strings| to our dictionary.
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698