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

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

Issue 7256002: Multi-Profiles: New Profile Setup UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: show product logo at bottom Created 9 years, 6 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.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);

Powered by Google App Engine
This is Rietveld 408576698