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

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

Issue 11150002: New post-sideload UI: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 0850b36a50d1802e22abf53f5353f65b4f1234d4..95ad89198ff6bea1a6e3762b67527072bdc2310a 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -173,6 +173,10 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
// Based on extension id, checks prefs to see if it is orphaned.
bool IsExtensionOrphaned(const std::string& id);
+ // Increment the count of how many times we prompted the user to acknowledge
+ // the given extension, and return the new count.
+ int IncrementAcknowledgePromptCount(const std::string& extension_id);
+
// Whether the user has acknowledged an external extension.
bool IsExternalExtensionAcknowledged(const std::string& extension_id);
void AcknowledgeExternalExtension(const std::string& extension_id);

Powered by Google App Engine
This is Rietveld 408576698