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

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: 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
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..78f22d7a7252405b2f25c76590de9918be8000a1 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 should_acknowledge)
Roger Tawa OOO till Jul 10th 2011/12/05 19:42:38 rename to mark_as_acknowledged ?
miket_OOO 2011/12/06 01:21:33 Sure!
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,

Powered by Google App Engine
This is Rietveld 408576698