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

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

Issue 10696210: Making ExtensionService less dependent on Browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update based on discussion with Yoyo Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extension_global_error.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 7672020c8b771e4e0e59a81930d01441cd03726a..1683b8f3759da692c85e3694e06275154f70f9d4 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -51,8 +51,8 @@ class AppNotificationManager;
class BookmarkExtensionEventRouter;
class CrxInstaller;
class ExtensionBrowserEventRouter;
+class ExtensionErrorUI;
class ExtensionFontSettingsEventRouter;
-class ExtensionGlobalError;
class ExtensionManagementEventRouter;
class ExtensionPreferenceEventRouter;
class ExtensionSyncData;
@@ -564,13 +564,12 @@ class ExtensionService
// extensions.
void IdentifyAlertableExtensions();
- // Given an ExtensionGlobalError alert, populates it with any extensions that
+ // Given an ExtensionErrorUI alert, populates it with any extensions that
// need alerting. Returns true if the alert should be displayed at all.
//
- // This method takes the extension_global_error argument rather than using
+ // This method takes the extension_error_ui argument rather than using
// the member variable to make it easier to test the method in isolation.
- bool PopulateExtensionGlobalError(
- ExtensionGlobalError* extension_global_error);
+ bool PopulateExtensionErrorUI(ExtensionErrorUI* extension_error_ui);
// Marks alertable extensions as acknowledged, after the user presses the
// accept button.
@@ -582,7 +581,7 @@ class ExtensionService
// Opens the Extensions page because the user wants to get more details
// about the alerts.
- void HandleExtensionAlertDetails(Browser* browser);
+ void HandleExtensionAlertDetails();
// Called when the extension alert is closed.
void HandleExtensionAlertClosed();
@@ -852,7 +851,7 @@ class ExtensionService
AppShortcutManager app_shortcut_manager_;
- scoped_ptr<ExtensionGlobalError> extension_global_error_;
+ scoped_ptr<ExtensionErrorUI> extension_error_ui_;
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
InstallAppsWithUnlimtedStorage);
« no previous file with comments | « chrome/browser/extensions/extension_global_error.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698