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

Side by Side Diff: remoting/client/chromoting_client.h

Issue 1545743002: Move ownership of Transport out of Session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_client
Patch Set: Created 4 years, 12 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
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | remoting/protocol/session.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // ChromotingClient is the controller for the Client implementation. 5 // ChromotingClient is the controller for the Client implementation.
6 6
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_; 119 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_;
120 120
121 // The following are not owned by this class. 121 // The following are not owned by this class.
122 ClientUserInterface* user_interface_ = nullptr; 122 ClientUserInterface* user_interface_ = nullptr;
123 VideoRenderer* video_renderer_ = nullptr; 123 VideoRenderer* video_renderer_ = nullptr;
124 SignalStrategy* signal_strategy_ = nullptr; 124 SignalStrategy* signal_strategy_ = nullptr;
125 125
126 std::string host_jid_; 126 std::string host_jid_;
127 scoped_ptr<protocol::Authenticator> authenticator_; 127 scoped_ptr<protocol::Authenticator> authenticator_;
128 scoped_refptr<protocol::TransportContext> transport_context_;
128 129
129 scoped_ptr<protocol::SessionManager> session_manager_; 130 scoped_ptr<protocol::SessionManager> session_manager_;
130 scoped_ptr<protocol::ConnectionToHost> connection_; 131 scoped_ptr<protocol::ConnectionToHost> connection_;
131 132
132 scoped_ptr<AudioDecodeScheduler> audio_decode_scheduler_; 133 scoped_ptr<AudioDecodeScheduler> audio_decode_scheduler_;
133 134
134 std::string local_capabilities_; 135 std::string local_capabilities_;
135 136
136 // The set of all capabilities supported by the host. 137 // The set of all capabilities supported by the host.
137 std::string host_capabilities_; 138 std::string host_capabilities_;
138 139
139 // True if |protocol::Capabilities| message has been received. 140 // True if |protocol::Capabilities| message has been received.
140 bool host_capabilities_received_ = false; 141 bool host_capabilities_received_ = false;
141 142
142 // Record the statistics of the connection. 143 // Record the statistics of the connection.
143 protocol::PerformanceTracker perf_tracker_; 144 protocol::PerformanceTracker perf_tracker_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 146 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
146 }; 147 };
147 148
148 } // namespace remoting 149 } // namespace remoting
149 150
150 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 151 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | remoting/protocol/session.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698