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

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

Issue 8800016: Exempt default apps from external-extension alerts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Suggestions from Roger. Created 9 years 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/default_apps.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 006d6551efc5250066578e51f9ded3f8903e344f..370ad2208beaec2c75f7ba49de07c8e9299c033d 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -505,7 +505,8 @@ class ExtensionService
const Version* version,
const FilePath& path,
Extension::Location location,
- int creation_flags)
+ int creation_flags,
+ bool mark_acknowledged)
OVERRIDE;
virtual void OnExternalExtensionUpdateUrlFound(const std::string& id,
@@ -527,6 +528,10 @@ class ExtensionService
void HandleExtensionAlertAccept(const ExtensionGlobalError& global_error,
Browser* browser);
+ // Given a (presumably just-installed) extension id, mark that extension as
+ // acknowledged.
+ void AcknowledgeExternalExtension(const std::string& id);
+
// Opens the Extensions page because the user wants to get more details
// about the alerts.
void HandleExtensionAlertDetails(const ExtensionGlobalError& global_error,
« no previous file with comments | « chrome/browser/extensions/default_apps.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698