diff options
author | kundaji <kundaji@chromium.org> | 2015-09-18 16:19:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-18 23:19:46 +0000 |
commit | e548e74412d0a18f8829ce60201eb953a700b09b (patch) | |
tree | 4ead1264cfb19591b40be5177c35ba7bbb473970 /extensions/common/extension.h | |
parent | 7305eb15590a4a3b363eeed2f1ed1b8638ee37fe (diff) | |
download | chromium_src-e548e74412d0a18f8829ce60201eb953a700b09b.zip chromium_src-e548e74412d0a18f8829ce60201eb953a700b09b.tar.gz chromium_src-e548e74412d0a18f8829ce60201eb953a700b09b.tar.bz2 |
Allow extensions to specify that they are not allowed in incognito mode.
Add "not_allowed" as a valid value to the "incognito" field in the
manifest. Track incognito behavior using an enum instead of a boolean
to distinguish between "split", "spanning", and "not_allowed". Add
CanBeIncognitoEnabled method to utils which checks the manifest entry
in addition to checking if extension is platform app or component.
BUG=455756
Review URL: https://codereview.chromium.org/1351223003
Cr-Commit-Position: refs/heads/master@{#349806}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index c4934d8..4d7f568 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -358,8 +358,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { bool is_shared_module() const; bool is_theme() const; - bool can_be_incognito_enabled() const; - void AddWebExtentPattern(const URLPattern& pattern); const URLPatternSet& web_extent() const { return extent_; } |