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

Unified Diff: chrome/browser/ui/webui/options/options_ui.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/options/options_ui.cc
===================================================================
--- chrome/browser/ui/webui/options/options_ui.cc (revision 177955)
+++ chrome/browser/ui/webui/options/options_ui.cc (working copy)
@@ -142,9 +142,9 @@
if (path == kLocalizedStringsFile) {
// Return dynamically-generated strings from memory.
- jstemplate_builder::UseVersion2 version;
+ webui::UseVersion2 version;
std::string strings_js;
- jstemplate_builder::AppendJsonJS(localized_strings_.get(), &strings_js);
+ webui::AppendJsonJS(localized_strings_.get(), &strings_js);
response_bytes = base::RefCountedString::TakeString(&strings_js);
} else if (path == kOptionsBundleJsFile) {
// Return (and cache) the options javascript code.
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc ('k') | chrome/common/net/net_resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698