Chromium Code Reviews| 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, |