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

Unified Diff: extensions/common/extension.h

Issue 2645863004: Simplify managing visibility of extensions in settings. (Closed)
Patch Set: Fixed logic so tests pass. Created 3 years, 11 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 dc625756235e3219c4a06f959ba2dd76720bc2f6..bab44d4e642dabb76abb2d18b98dcb10ab09668b 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -253,10 +253,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// settings page (i.e. chrome://extensions).
bool ShouldDisplayInExtensionSettings() const;
- // Returns true if the extension should not be shown anywhere. This is
- // mostly the same as the extension being a component extension, but also
- // includes non-component apps that are hidden from the app launcher and ntp.
- bool ShouldNotBeVisible() const;
+ // Returns true if the extension should be exposed via the chrome.management
+ // API.
+ bool ShouldExposeViaManagementAPI() const;
// Get the manifest data associated with the key, or NULL if there is none.
// Can only be called after InitValue is finished.

Powered by Google App Engine
This is Rietveld 408576698