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

Unified Diff: chrome/common/jstemplate_builder.h

Issue 7003007: Apply content-security-policy to the HTML options page. This is a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « chrome/common/common_resources.grd ('k') | chrome/common/jstemplate_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/jstemplate_builder.h
===================================================================
--- chrome/common/jstemplate_builder.h (revision 84887)
+++ chrome/common/jstemplate_builder.h (working copy)
@@ -50,6 +50,10 @@
// assigned to it.
void AppendJsonHtml(const DictionaryValue* json, std::string* output);
+// Same as AppendJsonHtml(), execpt does not include the <script></script>
+// tag wrappers.
+void AppendJsonJS(const DictionaryValue* json, std::string* output);
+
// Appends the source for JsTemplates in a script tag.
void AppendJsTemplateSourceHtml(std::string* output);
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/common/jstemplate_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698