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

Unified Diff: chrome/browser/extensions/extension_service.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
« no previous file with comments | « chrome/browser/extensions/extension_prefs.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 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_;
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698