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.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_HOTWORD_BACKGROUND_ACTIVITY_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_HOTWORD_BACKGROUND_ACTIVITY_DELEGATE_H_
10 // Delegate for HotwordBackgroundActivityMonitor.
11 class HotwordBackgroundActivityDelegate {
13 virtual ~HotwordBackgroundActivityDelegate() {}
15 // Returns the render process ID for the hotword recognizer of the delegate.
16 // The value is used to check if the media request comes from its own render
18 virtual int GetRenderProcessID() = 0;
20 // Called when the background hotword recognizer's availablility has changed.
21 virtual void OnHotwordBackgroundActivityChanged() = 0;
24 } // namespace app_list
26 #endif // CHROME_BROWSER_UI_APP_LIST_HOTWORD_BACKGROUND_ACTIVITY_DELEGATE_H_