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

Unified Diff: chrome/browser/extensions/extension_message_bubble_controller.h

Issue 2206693002: Improve settings override bubble to indicate policy installed extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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: chrome/browser/extensions/extension_message_bubble_controller.h
diff --git a/chrome/browser/extensions/extension_message_bubble_controller.h b/chrome/browser/extensions/extension_message_bubble_controller.h
index 2af76e9781686dc06213f339c6ab91ade1e5d646..d1959cb7bba8bbe49952a5533ae0f96537488bfb 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller.h
+++ b/chrome/browser/extensions/extension_message_bubble_controller.h
@@ -87,6 +87,12 @@ class ExtensionMessageBubbleController : public chrome::BrowserListObserver {
// state specific to the type (e.g., shown for profiles).
virtual const char* GetKey() = 0;
+ // Returns true if the bubble is informing about a single extension that can
+ // be policy-installed.
+ // E.g. A proxy-type extension can be policy installed, but a developer-type
+ // extension cannot.
+ virtual bool SupportsPolicyIndicator() = 0;
+
// Whether the "shown for profiles" set should be cleared if an action is
// taken on the bubble. This defaults to true, since once an action is
// taken, the extension will usually either be acknowledged or removed, and
« no previous file with comments | « chrome/browser/extensions/dev_mode_bubble_delegate.cc ('k') | chrome/browser/extensions/extension_service_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698