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

Unified Diff: ui/webui/jstemplate_builder.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
« no previous file with comments | « ui/webui/jstemplate_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/jstemplate_builder.cc
===================================================================
--- ui/webui/jstemplate_builder.cc (revision 177955)
+++ ui/webui/jstemplate_builder.cc (working copy)
@@ -22,7 +22,7 @@
} // namespace
-namespace jstemplate_builder {
+namespace webui {
UseVersion2::UseVersion2() {
g_version2++;
@@ -65,7 +65,7 @@
void AppendJsonHtml(const DictionaryValue* json, std::string* output) {
std::string javascript_string;
- jstemplate_builder::AppendJsonJS(json, &javascript_string);
+ AppendJsonJS(json, &javascript_string);
// </ confuses the HTML parser because it could be a </script> tag. So we
// replace </ with <\/. The extra \ will be ignored by the JS engine.
@@ -153,4 +153,4 @@
output->append("</script>");
}
-} // namespace jstemplate_builder
+} // namespace webui
« no previous file with comments | « ui/webui/jstemplate_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698