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

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

Issue 8202011: Notify users about certain changes in installed extensions. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index e12bd6f411c81b7b336e8f4c602859ae3a3289c3..a135ca69c5c1d01e9f2598fa2298121425951da3 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -52,6 +52,7 @@ class ExtensionContentSettingsStore;
class ExtensionCookiesEventRouter;
class ExtensionDownloadsEventRouter;
class ExtensionFileBrowserEventRouter;
+class ExtensionGlobalError;
class ExtensionHistoryEventRouter;
class ExtensionInstallUI;
class ExtensionManagementEventRouter;
@@ -507,6 +508,20 @@ class ExtensionService
virtual void OnExternalProviderReady() OVERRIDE;
+ // Once all external providers are done, generate any needed alerts about
+ // extensions.
+ void IdentifyAlertableExtensions();
+
+ // The user has acknowledged the batch of alerts, so mark all the
+ // alertable extensions accordingly.
+ void HandleNotificationAlertAccept(
+ const ExtensionGlobalError& global_error);
+
+ // The user wants to get more details about the alerts. Open the
+ // Extensions page.
+ void HandleNotificationAlertDetails(
+ const ExtensionGlobalError& global_error);
+
// NotificationObserver
virtual void Observe(int type,
const NotificationSource& source,

Powered by Google App Engine
This is Rietveld 408576698