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

Unified Diff: chrome/common/extensions/extension_set.cc

Issue 12886023: Remove SandboxedPages and SandboxedCSP from Extension Class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
Index: chrome/common/extensions/extension_set.cc
diff --git a/chrome/common/extensions/extension_set.cc b/chrome/common/extensions/extension_set.cc
index 558e55d38fed914568a10eaa6a0c97189cad2bec..84872b8ab381505934cbc827f2e66cc4df2e75a8 100644
--- a/chrome/common/extensions/extension_set.cc
+++ b/chrome/common/extensions/extension_set.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h"
#include "chrome/common/url_constants.h"
#include "extensions/common/constants.h"
@@ -168,7 +169,8 @@ bool ExtensionSet::IsSandboxedPage(const ExtensionURLInfo& info) const {
if (info.url().SchemeIs(extensions::kExtensionScheme)) {
const Extension* extension = GetByID(info.url().host());
if (extension) {
- return extension->IsSandboxedPage(info.url().path());
+ return extensions::SandboxedPageInfo::IsSandboxedPage(extension,
+ info.url().path());
}
}
return false;
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/manifest_handlers/sandboxed_page_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698