Index: chrome/browser/ui/webui/chrome_web_ui_data_source.cc |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_data_source.cc b/chrome/browser/ui/webui/chrome_web_ui_data_source.cc |
index 5197f8c4ba715c9c47fd3f52e13a48fa0a042400..6cabdf20027da9549300bb4e46f1de06258beb08 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_data_source.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_data_source.cc |
@@ -23,6 +23,12 @@ void ChromeWebUIDataSource::AddLocalizedString(const std::string& name, |
localized_strings_.SetString(name, l10n_util::GetStringUTF16(ids)); |
} |
+void ChromeWebUIDataSource::AddLocalizedString( |
+ const std::string& name, |
+ const string16& localized_string) { |
+ localized_strings_.SetString(name, localized_string); |
+} |
+ |
void ChromeWebUIDataSource::SendLocalizedStringsAsJSON(int request_id) { |
std::string template_data; |
scoped_refptr<RefCountedBytes> response(new RefCountedBytes); |