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

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

Issue 1510343002: Add WebrtcConnectionToClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webrtc_thread
Patch Set: Created 5 years 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
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ICE_CONNECTION_TO_CLIENT_H_ 5 #ifndef REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ 6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void Close(ErrorCode error); 66 void Close(ErrorCode error);
67 67
68 // Stops writing in the channels. 68 // Stops writing in the channels.
69 void CloseChannels(); 69 void CloseChannels();
70 70
71 base::ThreadChecker thread_checker_; 71 base::ThreadChecker thread_checker_;
72 72
73 // Event handler for handling events sent from this object. 73 // Event handler for handling events sent from this object.
74 ConnectionToClient::EventHandler* event_handler_; 74 ConnectionToClient::EventHandler* event_handler_;
75 75
76 // The libjingle channel used to send and receive data from the remote client.
77 scoped_ptr<Session> session_; 76 scoped_ptr<Session> session_;
78 77
79 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; 78 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
80 79
81 scoped_ptr<HostControlDispatcher> control_dispatcher_; 80 scoped_ptr<HostControlDispatcher> control_dispatcher_;
82 scoped_ptr<HostEventDispatcher> event_dispatcher_; 81 scoped_ptr<HostEventDispatcher> event_dispatcher_;
83 scoped_ptr<HostVideoDispatcher> video_dispatcher_; 82 scoped_ptr<HostVideoDispatcher> video_dispatcher_;
84 scoped_ptr<AudioWriter> audio_writer_; 83 scoped_ptr<AudioWriter> audio_writer_;
85 84
86 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient); 85 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient);
87 }; 86 };
88 87
89 } // namespace protocol 88 } // namespace protocol
90 } // namespace remoting 89 } // namespace remoting
91 90
92 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ 91 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
OLDNEW
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698