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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_setup_source.cc

Issue 12045022: Move code in ui\webui\jstemplate_builder.* to webui namespace for consistency. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/printing/cloud_print/cloud_print_setup_source.cc
===================================================================
--- chrome/browser/printing/cloud_print/cloud_print_setup_source.cc (revision 177955)
+++ chrome/browser/printing/cloud_print/cloud_print_setup_source.cc (working copy)
@@ -75,7 +75,7 @@
static const base::StringPiece html(ResourceBundle::GetSharedInstance()
.GetRawDataResource(IDR_CLOUD_PRINT_SETUP_LOGIN_HTML));
web_ui_util::SetFontAndTextDirection(dict);
- response = jstemplate_builder::GetI18nTemplateHtml(html, dict);
+ response = webui::GetI18nTemplateHtml(html, dict);
} else if (path_raw == kCloudPrintGaiaLoginPath) {
// Start by setting the per-locale URLs we show on the setup wizard.
dict->SetString("invalidpasswordhelpurl",
@@ -111,7 +111,7 @@
static const base::StringPiece html(ResourceBundle::GetSharedInstance()
.GetRawDataResource(IDR_GAIA_LOGIN_HTML));
web_ui_util::SetFontAndTextDirection(dict);
- response = jstemplate_builder::GetI18nTemplateHtml(html, dict);
+ response = webui::GetI18nTemplateHtml(html, dict);
} else if (path_raw == kCloudPrintSetupDonePath) {
AddString(dict, "testpage", IDS_CLOUD_PRINT_SETUP_TEST_PAGE);
AddString(dict, "success", IDS_SYNC_SUCCESS);
@@ -119,7 +119,7 @@
static const base::StringPiece html(ResourceBundle::GetSharedInstance()
.GetRawDataResource(IDR_CLOUD_PRINT_SETUP_DONE_HTML));
web_ui_util::SetFontAndTextDirection(dict);
- response = jstemplate_builder::GetI18nTemplateHtml(html, dict);
+ response = webui::GetI18nTemplateHtml(html, dict);
} else if (path_raw == kCloudPrintSetupFlowPath) {
static const base::StringPiece html(
ResourceBundle::GetSharedInstance()
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_interstitial.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698