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

Unified Diff: extensions/common/extension.h

Issue 403593002: Improve messaging for shared modules on chrome://extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index c24cb2167d1945de4b0a3e335dde52013cb46dbb..9bc9c632cd9b981be7fef0523a39885231fd8600 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>;
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698