Home | History | Annotate | Download | only in media
      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:
     19   virtual ~WebRTCInternalsUIObserver() {}
     20 
     21   // This is called on the browser IO thread.
     22   virtual void OnUpdate(const std::string& command,
     23                         const base::Value* args) = 0;
     24 };
     25 
     26 }  // namespace content
     27 
     28 #endif  // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
     29