diff options
author | elijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-18 05:35:09 +0000 |
---|---|---|
committer | elijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-18 05:35:09 +0000 |
commit | b86960e25dfce1fbf3151f5322133e696030ccc3 (patch) | |
tree | 3a3d0dc06a4869bd0dc664cceeecbd2ecdfae100 /extensions/common/extension.h | |
parent | 047c3d690e605651baec69a86ce443cff4859105 (diff) | |
download | chromium_src-b86960e25dfce1fbf3151f5322133e696030ccc3.zip chromium_src-b86960e25dfce1fbf3151f5322133e696030ccc3.tar.gz chromium_src-b86960e25dfce1fbf3151f5322133e696030ccc3.tar.bz2 |
Improve messaging for shared modules on chrome://extensions
List the dependent extensions under the shared module and change message
from generic policy message to be more specific for shared modules
to explain why the extension cannot be disabled or uninstalled.
BUG=393670
Review URL: https://codereview.chromium.org/403593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index c24cb21..9bc9c63 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -342,20 +342,20 @@ class Extension : public base::RefCountedThreadSafe<Extension> { return (creation_flags_ & WAS_INSTALLED_BY_CUSTODIAN) != 0; } - // App-related. + // Type-related queries. bool is_app() const; bool is_platform_app() const; bool is_hosted_app() const; bool is_legacy_packaged_app() const; bool is_extension() const; + 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_; } - // Theme-related. - bool is_theme() const; - private: friend class base::RefCountedThreadSafe<Extension>; |