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

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

Issue 654613004: [Hotword] Delay checking for audio devices until needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: redoing logic Created 6 years, 2 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 d856c099036787ce4398938adb70bce6ff18c985..9ecf8bd6a1836a600904fc8c36eef7401208a162 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -32,8 +32,7 @@ extern const char kHotwordFieldTrialDisabledGroupName[];
// Provides an interface for the Hotword component that does voice triggered
// search.
-class HotwordService : public content::NotificationObserver,
- public extensions::ExtensionRegistryObserver,
+class HotwordService : public extensions::ExtensionRegistryObserver,
public KeyedService {
public:
// Returns true if the hotword supports the current system language.
@@ -45,11 +44,6 @@ class HotwordService : public content::NotificationObserver,
explicit HotwordService(Profile* profile);
virtual ~HotwordService();
- // Overridden from content::NotificationObserver:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
-
// Overridden from ExtensionRegisterObserver:
virtual void OnExtensionInstalled(
content::BrowserContext* browser_context,
« no previous file with comments | « no previous file | chrome/browser/search/hotword_service.cc » ('j') | chrome/browser/search/hotword_service_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698