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

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

Issue 158143002: Fine tuned availability of hotword plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 10 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 6dbd6cd6da5e2a66448c30b6eeaf7037caa7a710..ef587a303fa051b21cfb1ac3275068c8c4a990a4 100644
--- a/chrome/browser/search/hotword_service.h
+++ b/chrome/browser/search/hotword_service.h
@@ -20,6 +20,9 @@ extern const char kHotwordFieldTrialDisabledGroupName[];
// search.
class HotwordService : public BrowserContextKeyedService {
public:
+ // Returns true if the hotword supports the current system language.
+ static bool DoesHotwordSupportLanguage(Profile* profile);
+
explicit HotwordService(Profile* profile);
virtual ~HotwordService();

Powered by Google App Engine
This is Rietveld 408576698