Index: chrome/browser/ui/webui/chrome_web_ui_data_source.h |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_data_source.h b/chrome/browser/ui/webui/chrome_web_ui_data_source.h |
index 3ae0f58cef7c9618d794261e8029703942829e0f..e6e9d8a665004eeca2cb65ff4340e0abc0833842 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_data_source.h |
+++ b/chrome/browser/ui/webui/chrome_web_ui_data_source.h |
@@ -21,6 +21,10 @@ class ChromeWebUIDataSource : public ChromeURLDataManager::DataSource { |
// Adds a name and its equivaled localized string to our dictionary. |
void AddLocalizedString(const std::string& name, int ids); |
+ // Adds a name and its localized string value to our dictionary. |
+ void AddLocalizedString(const std::string& name, |
+ const string16& localized_string); |
+ |
// Completes a request by sending our dictionary of localized strings. |
void SendLocalizedStringsAsJSON(int request_id); |