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

Unified Diff: chrome/common/extensions/extension_constants.h

Issue 10458063: Add sanbdoxed_pages to allow extension/app pages to be served in a sandboxed, unique origin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 7b3143de13273b79a9b2f26a9932722d79412ccf..ba850ccb49d1597ce5a09a9326357564087d29aa 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -252,6 +252,10 @@ namespace extension_misc {
// Error indicating that the app notifications API is not accessible by split
// mode extensions in incognito windows.
extern const char kAppNotificationsIncognitoError[];
+
+ // CSP value that makes resources be sandboxed (served from an unique origin,
+ // top-level navigation and popups are disabled).
+ extern const char kSandboxedContentSecurityPolicy[];
} // extension_misc
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698