Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome/browser/media/webrtc_internals_ui_observer.h

Issue 11876007: Connecting webrtc-internals WebUI frontend with the backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@main
Patch Set: Moving ChromeWebRTCInternals to UI thread Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
7
8 #include <string>
7 9
8 namespace base { 10 namespace base {
9 class Value; 11 class Value;
10 } // namespace base 12 } // namespace base
11 13
12 namespace content { 14 namespace media {
13
14 // Implement this interface to receive WebRTCInternals updates. 15 // Implement this interface to receive WebRTCInternals updates.
15 class WebRTCInternalsUIObserver { 16 class WebRTCInternalsUIObserver {
16 public: 17 public:
17 virtual ~WebRTCInternalsUIObserver() {} 18 virtual ~WebRTCInternalsUIObserver() {}
18 19
19 // This is called on the browser IO thread. 20 // This is called on the browser IO thread.
20 virtual void OnUpdate(const std::string& command, 21 virtual void OnUpdate(const std::string& command,
21 const base::Value* args) = 0; 22 const base::Value* args) = 0;
22 }; 23 };
23 24
24 } // namespace content 25 } // namespace media
25 26 #endif // CHROME_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
26 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_UI_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698