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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 7396026: Consolidate content-security-policy markup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 92865)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -408,11 +408,9 @@
output->append(EscapeForHTML(unescaped_title));
output->append("</title>\n");
}
- output->append(
- "<meta charset=\"utf-8\">\n<meta http-equiv=\"X-WebKit-CSP\" "
- "content=\"object-src 'none'; "
- "script-src chrome-extension://mndnfokpggljbaajbnioimlmbfngpief "
- " 'self' 'unsafe-eval'\">\n");
+ output->append("<meta charset=\"utf-8\">\n");
+ output->append(ResourceBundle::GetSharedInstance().GetRawDataResource(
+ IDR_CONTENT_SECURITY_POLICY_HTML).as_string());
if (refresh > 0) {
output->append("<meta http-equiv=\"refresh\" content=\"");
output->append(base::IntToString(refresh));
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | chrome/browser/resources/content_security_policy.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698