| Index: chrome/browser/extensions/component_loader.cc
|
| diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
|
| index cf77436799a70373c0dfa8b451fb1acedd73435e..16a4aeb980c196a800e3b64d9c64ecd9a6dc02fc 100644
|
| --- a/chrome/browser/extensions/component_loader.cc
|
| +++ b/chrome/browser/extensions/component_loader.cc
|
| @@ -301,6 +301,14 @@ void ComponentLoader::AddHangoutServicesExtension() {
|
| #endif
|
| }
|
|
|
| +void ComponentLoader::AddHotwordAudioVerificationApp() {
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + if (command_line->HasSwitch(switches::kEnableExperimentalHotwording)) {
|
| + Add(IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST,
|
| + base::FilePath(FILE_PATH_LITERAL("hotword_audio_verification")));
|
| + }
|
| +}
|
| +
|
| void ComponentLoader::AddHotwordHelperExtension() {
|
| if (HotwordServiceFactory::IsHotwordAllowed(browser_context_)) {
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| @@ -510,6 +518,7 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages(
|
| AddGalleryExtension();
|
|
|
| AddHangoutServicesExtension();
|
| + AddHotwordAudioVerificationApp();
|
| AddHotwordHelperExtension();
|
| AddImageLoaderExtension();
|
|
|
|
|