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

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
Index: chrome/common/jstemplate_builder.h
===================================================================
--- chrome/common/jstemplate_builder.h (revision 84688)
+++ chrome/common/jstemplate_builder.h (working copy)
@@ -50,6 +50,11 @@
// assigned to it.
void AppendJsonHtml(const DictionaryValue* json, std::string* output);
+
abarth-chromium 2011/05/10 21:11:45 Looks like there's an extra space here.
+// 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);

Powered by Google App Engine
This is Rietveld 408576698