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

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

Issue 95133002: Add an extension bubble explaining which extensions are in dev mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'ed Created 7 years 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_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index f7130a59fdc44f84792da61b3c372c0e5796641d..bd9b83622abb8ad8766a397eccab17e712120674 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -302,6 +302,11 @@ class ExtensionPrefs : public ExtensionScopedPrefs,
bool HasWipeoutBeenAcknowledged(const std::string& extension_id);
void SetWipeoutAcknowledged(const std::string& extension_id, bool value);
+ // Whether the user has been notified about extension with |extension_id|
+ // only running because of dev mode being on.
+ bool HasDevModeBeenAcknowledged(const std::string& extension_id);
+ void SetDevModeAcknowledged(const std::string& extension_id, bool value);
not at google - send to devlin 2013/12/04 17:25:13 why are we storing this in preferences? Isn't the
Finnur 2013/12/05 23:55:56 Indeed. Done.
+
// 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