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

Unified Diff: chrome/browser/extensions/csp_parser.cc

Issue 12886023: Remove SandboxedPages and SandboxedCSP from Extension Class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Yoyo's Created 7 years, 9 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 | « no previous file | chrome/chrome_common.gypi » ('j') | chrome/common/extensions/extension.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/csp_parser.cc
diff --git a/chrome/browser/extensions/csp_parser.cc b/chrome/browser/extensions/csp_parser.cc
index 2c1dfc85f850df53284b1cca3fb7a771083d83db..df2167f0ed77139c0e1c30996d725175cd660cac 100644
--- a/chrome/browser/extensions/csp_parser.cc
+++ b/chrome/browser/extensions/csp_parser.cc
@@ -7,12 +7,14 @@
#include "base/lazy_instance.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/csp_handler.h"
+#include "chrome/common/extensions/sandboxed_page_info.h"
namespace extensions {
CSPParser::CSPParser(Profile* profile) {
- (new CSPHandler(false))->Register(); // platform app.
+ (new CSPHandler(false))->Register(); // not platform app.
(new CSPHandler(true))->Register(); // platform app.
+ (new SandboxedPageHandler)->Register();
}
CSPParser::~CSPParser() {
« no previous file with comments | « no previous file | chrome/chrome_common.gypi » ('j') | chrome/common/extensions/extension.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698