Index: chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_api.h b/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
index 8013621860e4b362d463bd8b83e6596cc8e381c1..62a8f0cd22244e662d2f3740a3bb765907ccf359 100644 |
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
@@ -69,6 +69,19 @@ class HotwordPrivateSetAudioLoggingEnabledFunction |
virtual bool RunSync() OVERRIDE; |
}; |
+class HotwordPrivateSetHotwordAlwaysOnSearchEnabledFunction |
+ : public ChromeSyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("hotwordPrivate.setHotwordAlwaysOnSearchEnabled", |
+ HOTWORDPRIVATE_SETHOTWORDALWAYSONSEARCHENABLED) |
+ |
+ protected: |
+ virtual ~HotwordPrivateSetHotwordAlwaysOnSearchEnabledFunction() {} |
+ |
+ // ExtensionFunction: |
+ virtual bool RunSync() OVERRIDE; |
+}; |
+ |
class HotwordPrivateGetStatusFunction : public ChromeSyncExtensionFunction { |
public: |
DECLARE_EXTENSION_FUNCTION("hotwordPrivate.getStatus", |