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

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

Powered by Google App Engine
This is Rietveld 408576698