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

Side by Side Diff: remoting/protocol/webrtc_connection_to_host.h

Issue 1559933003: Pass VideoRenderer interface to ConnectionToHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_frame_consumer
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ 5 #ifndef REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_
6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ 6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 public Session::EventHandler, 28 public Session::EventHandler,
29 public WebrtcTransport::EventHandler, 29 public WebrtcTransport::EventHandler,
30 public ChannelDispatcherBase::EventHandler { 30 public ChannelDispatcherBase::EventHandler {
31 public: 31 public:
32 WebrtcConnectionToHost(); 32 WebrtcConnectionToHost();
33 ~WebrtcConnectionToHost() override; 33 ~WebrtcConnectionToHost() override;
34 34
35 // ConnectionToHost interface. 35 // ConnectionToHost interface.
36 void set_client_stub(ClientStub* client_stub) override; 36 void set_client_stub(ClientStub* client_stub) override;
37 void set_clipboard_stub(ClipboardStub* clipboard_stub) override; 37 void set_clipboard_stub(ClipboardStub* clipboard_stub) override;
38 void set_video_stub(VideoStub* video_stub) override; 38 void set_video_renderer(VideoRenderer* video_renderer) override;
39 void set_audio_stub(AudioStub* audio_stub) override; 39 void set_audio_stub(AudioStub* audio_stub) override;
40 void Connect(scoped_ptr<Session> session, 40 void Connect(scoped_ptr<Session> session,
41 scoped_refptr<TransportContext> transport_context, 41 scoped_refptr<TransportContext> transport_context,
42 HostEventCallback* event_callback) override; 42 HostEventCallback* event_callback) override;
43 const SessionConfig& config() override; 43 const SessionConfig& config() override;
44 ClipboardStub* clipboard_forwarder() override; 44 ClipboardStub* clipboard_forwarder() override;
45 HostStub* host_stub() override; 45 HostStub* host_stub() override;
46 InputStub* input_stub() override; 46 InputStub* input_stub() override;
47 State state() const override; 47 State state() const override;
48 48
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 ErrorCode error_ = OK; 84 ErrorCode error_ = OK;
85 85
86 private: 86 private:
87 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToHost); 87 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToHost);
88 }; 88 };
89 89
90 } // namespace protocol 90 } // namespace protocol
91 } // namespace remoting 91 } // namespace remoting
92 92
93 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ 93 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_
OLDNEW
« no previous file with comments | « remoting/protocol/ice_connection_to_host.cc ('k') | remoting/protocol/webrtc_connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698