Chromium Code Reviews| Index: chrome/browser/search/hotword_service.cc |
| diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc |
| index f7f8aeddb8ebf2d4bf0b360ea86f9d669160dc1f..0a84dbde3d9d92b6ccd72d4d581944b1106a087b 100644 |
| --- a/chrome/browser/search/hotword_service.cc |
| +++ b/chrome/browser/search/hotword_service.cc |
| @@ -360,7 +360,9 @@ bool HotwordService::UninstallHotwordExtension( |
| ExtensionService* extension_service) { |
| base::string16 error; |
| if (!extension_service->UninstallExtension( |
| - extension_misc::kHotwordExtensionId, true, &error)) { |
| + extension_misc::kHotwordExtensionId, |
| + ExtensionService::UNINSTALL_REASON_DEFAULT, |
|
Devlin
2014/07/01 17:39:10
This one's tricky. I'd love to get rid of DEFAULT
rpaquay
2014/07/01 22:56:53
I like the "internal management" idea. I added a c
|
| + &error)) { |
| LOG(WARNING) << "Cannot uninstall extension with id " |
| << extension_misc::kHotwordExtensionId |
| << ": " << error; |