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

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

Issue 780703004: [Hotword] Ok Google options disappear if search provider is changed from (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: check for no default url Created 6 years 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
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/search/hotword_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/hotword_service.h
diff --git a/chrome/browser/search/hotword_service.h b/chrome/browser/search/hotword_service.h
index 3a99a4b3e9fd567fca27ba273e8b5e8616065ecd..87a18403e8bb69d401465cf126e08b24a9d86593 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -148,6 +148,9 @@ class HotwordService : public extensions::ExtensionRegistryObserver,
// Sets the audio history handler. Used for tests.
void SetAudioHistoryHandler(HotwordAudioHistoryHandler* handler);
+ // Turn off the currently enabled version of hotwording if one exists.
+ void DisableHotwordPreferences();
+
private:
class HotwordUserSessionStateObserver;
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/search/hotword_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698