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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.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/ui/webui/ntp/ntp_resource_cache.cc
===================================================================
--- chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (revision 177955)
+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (working copy)
@@ -297,7 +297,7 @@
ResourceBundle::GetSharedInstance().GetRawDataResource(
new_tab_html_idr));
- std::string full_html = jstemplate_builder::GetI18nTemplateHtml(
+ std::string full_html = webui::GetI18nTemplateHtml(
incognito_tab_html, &localized_strings);
new_tab_incognito_html_ = base::RefCountedString::TakeString(&full_html);
@@ -453,9 +453,9 @@
base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance().
GetRawDataResource(chrome::search::IsInstantExtendedAPIEnabled(profile_) ?
IDR_NEW_TAB_SEARCH_HTML : IDR_NEW_TAB_4_HTML));
- jstemplate_builder::UseVersion2 version2;
+ webui::UseVersion2 version2;
std::string full_html =
- jstemplate_builder::GetI18nTemplateHtml(new_tab_html, &load_time_data);
+ webui::GetI18nTemplateHtml(new_tab_html, &load_time_data);
new_tab_html_ = base::RefCountedString::TakeString(&full_html);
}
« no previous file with comments | « chrome/browser/ui/webui/chromeos/system_info_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698