1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
6#define CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
7
8class HotwordClient {
9 public:
10  virtual ~HotwordClient() {}
11
12  // Called when the hotword recognition session state has been changed.
13  virtual void OnHotwordStateChanged(bool started) {}
14
15  // Called when the hotword is recognized.
16  virtual void OnHotwordRecognized() = 0;
17};
18
19#endif  // CHROME_BROWSER_SEARCH_HOTWORD_CLIENT_H_
20