| Index: chrome/browser/search/hotword_client.h
|
| diff --git a/chrome/browser/search/hotword_client.h b/chrome/browser/search/hotword_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7e3dd6bf7b92be33004937b4574bd61dbc4a3d7f
|
| --- /dev/null
|
| +++ b/chrome/browser/search/hotword_client.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
| +#define CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
| +
|
| +class HotwordClient {
|
| + public:
|
| + virtual ~HotwordClient() {}
|
| +
|
| + // Called when the hotword recognition session state has been changed.
|
| + virtual void OnHotwordStateChanged(bool enabled) {}
|
| +
|
| + // Called when the hotword is recognized.
|
| + virtual void OnHotwordRecognized() = 0;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
|
|
|