Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 3e42906d86461e6b4c0cdf988a7d9dd3395a2da5..217396b5edb1ee92a7e4887f04447e6b9ca1c6d0 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -586,9 +586,8 @@ class ExtensionService |
// the member variable to make it easier to test the method in isolation. |
bool PopulateExtensionErrorUI(ExtensionErrorUI* extension_error_ui); |
- // Marks alertable extensions as acknowledged, after the user presses the |
- // accept button. |
- void HandleExtensionAlertAccept(); |
+ // Checks if there are any new external extensions to notify the user about. |
+ void UpdateExternalExtensionAlert(); |
// Given a (presumably just-installed) extension id, mark that extension as |
// acknowledged. |
@@ -601,6 +600,10 @@ class ExtensionService |
// Called when the extension alert is closed. |
void HandleExtensionAlertClosed(); |
+ // Marks alertable extensions as acknowledged, after the user presses the |
+ // accept button. |
+ void HandleExtensionAlertAccept(); |
+ |
// content::NotificationObserver |
virtual void Observe(int type, |
const content::NotificationSource& source, |
@@ -734,6 +737,10 @@ class ExtensionService |
// Helper to inspect an ExtensionHost after it has been loaded. |
void InspectExtensionHost(extensions::ExtensionHost* host); |
+ // Helper to determine whether we should initially enable an installed |
+ // (or upgraded) extension. |
+ bool ShouldEnableOnInstall(const extensions::Extension* extension); |
+ |
// The normal profile associated with this ExtensionService. |
Profile* profile_; |