Index: chrome/browser/search/hotword_service.cc |
diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc |
index d222b150fbae877fe74598681e956e6e624890fa..5b08027ef4c198480f703a9420a55068e88aa435 100644 |
--- a/chrome/browser/search/hotword_service.cc |
+++ b/chrome/browser/search/hotword_service.cc |
@@ -639,7 +639,11 @@ bool HotwordService::IsServiceAvailable() { |
} |
bool HotwordService::IsHotwordAllowed() { |
+#if defined(ENABLE_HOTWORDING) |
return DoesHotwordSupportLanguage(profile_); |
+#else |
+ return false; |
+#endif |
} |
bool HotwordService::IsOptedIntoAudioLogging() { |