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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 1008273003: Rename HotwordServiceFactory::IsHotwordHardwareAvailable() to IsAlwaysOnAvailable(). (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
« no previous file with comments | « chrome/browser/search/hotword_service_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 2ce680435fbf7aca2e7874abe1d0db6ab6bed847..2337afba3f8f7f9585207c461bbe7e5719929d49 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1793,7 +1793,7 @@ void BrowserOptionsHandler::HandleRequestHotwordAvailable(
SigninManagerBase* signin = SigninManagerFactory::GetForProfile(profile);
bool authenticated = signin && signin->IsAuthenticated();
if (HotwordService::IsExperimentalHotwordingEnabled()) {
- if (HotwordServiceFactory::IsHotwordHardwareAvailable() &&
+ if (HotwordServiceFactory::IsAlwaysOnAvailable() &&
authenticated) {
function_name = "BrowserOptions.showHotwordAlwaysOnSection";
always_on = true;
« no previous file with comments | « chrome/browser/search/hotword_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698