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

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: feedback 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
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 933c47ce09d8cba6259a7468206621793c6cc55d..a96a19e2f224c03d111c33fd004b3b211b4fc07a 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -335,20 +335,20 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
return (creation_flags_ & WAS_INSTALLED_BY_OEM) != 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>;

Powered by Google App Engine
This is Rietveld 408576698