Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / browser / media / webrtc_internals_ui_observer.h
blob31082b6181fb9836b486ef85b39e5803c744b4e4
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.
5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
8 #include <string>
10 namespace base {
11 class Value;
12 } // namespace base
14 namespace content {
16 // Implement this interface to receive WebRTCInternals updates.
17 class WebRTCInternalsUIObserver {
18 public:
19 virtual ~WebRTCInternalsUIObserver() {}
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;
27 } // namespace content
29 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_