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

Unified Diff: extensions/browser/extension_prefs.h

Issue 288923004: Add an extension override bubble and warning box for proxy extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 7 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/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index c6066c3f0aebac4a885e395999b1b9e8aa33509f..a9e86378ccaf06e82bf06bd07f851ee4bee8689b 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -331,6 +331,13 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
void SetNtpOverriddenBubbleBeenAcknowledged(const std::string& extension_id,
bool value);
+ // Whether the user has been notified about extension with |extension_id|
+ // overriding the proxy.
+ bool HasProxyOverriddenBubbleBeenAcknowledged(
+ const std::string& extension_id);
+ void SetProxyOverriddenBubbleBeenAcknowledged(const std::string& extension_id,
+ bool value);
+
// Returns true if the extension notification code has already run for the
// first time for this profile. Currently we use this flag to mean that any
// extensions that would trigger notifications should get silently

Powered by Google App Engine
This is Rietveld 408576698