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

Unified Diff: chrome/browser/search/hotword_service.h

Issue 1011813006: Make availability of hotword hardware known to hotword component extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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/search/hotword_service.h
diff --git a/chrome/browser/search/hotword_service.h b/chrome/browser/search/hotword_service.h
index 9a93efb330a757fff7e261e272adc909ed0ba724..1115618cc3c02e1d2f2d14168dc7821ac5385154 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -63,6 +63,9 @@ class HotwordService : public extensions::ExtensionRegistryObserver,
// Returns true if the "enable-experimental-hotwording" flag is set.
static bool IsExperimentalHotwordingEnabled();
+ // Returns true if hotwording hardware is available.
+ static bool IsHotwordHardwareAvailable();
kcarattini 2015/03/17 01:38:41 Why is this is HotwordService and not HotwordServi
Anand Mistry (off Chromium) 2015/03/17 02:54:47 I think a lot of what's currently in the factory r
+
explicit HotwordService(Profile* profile);
~HotwordService() override;

Powered by Google App Engine
This is Rietveld 408576698