• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2013 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 CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
7 
8 #include <string>
9 
10 namespace base {
11 class Value;
12 }  // namespace base
13 
14 namespace content {
15 
16 // Implement this interface to receive WebRTCInternals updates.
17 class WebRTCInternalsUIObserver {
18  public:
~WebRTCInternalsUIObserver()19   virtual ~WebRTCInternalsUIObserver() {}
20 
21   // This is called on the browser IO thread. |args| can be NULL if there are no
22   // arguments.
23   virtual void OnUpdate(const std::string& command,
24                         const base::Value* args) = 0;
25 };
26 
27 }  // namespace content
28 
29 #endif  // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
30