Cast: Skip receiver log messages with time delta that can't be encoded.
[chromium-blink-merge.git] / content / browser / media / webrtc_internals_ui_observer.h
blob8d2c60e63b80cfa2cca3b352cde7cadf7d50d155
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.
22 virtual void OnUpdate(const std::string& command,
23 const base::Value* args) = 0;
26 } // namespace content
28 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_