OLD | NEW |
| (Empty) |
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 namespace base { | |
9 class Value; | |
10 } // namespace base | |
11 | |
12 namespace content { | |
13 | |
14 // Implement this interface to receive WebRTCInternals updates. | |
15 class WebRTCInternalsUIObserver { | |
16 public: | |
17 virtual ~WebRTCInternalsUIObserver() {} | |
18 | |
19 // This is called on the browser IO thread. | |
20 virtual void OnUpdate(const std::string& command, | |
21 const base::Value* args) = 0; | |
22 }; | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_ | |
OLD | NEW |