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

Side by Side Diff: remoting/host/session_manager.h

Issue 3141036: Revert 57112 - Rename (Host|Client)Message to Chromoting(Host|Client)Message.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/client_connection.cc ('k') | remoting/host/session_manager.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_HOST_RECORD_SESSION_H_ 5 #ifndef REMOTING_HOST_RECORD_SESSION_H_
6 #define REMOTING_HOST_RECORD_SESSION_H_ 6 #define REMOTING_HOST_RECORD_SESSION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 void DoStartRateControl(); 125 void DoStartRateControl();
126 void DoPauseRateControl(); 126 void DoPauseRateControl();
127 127
128 // Helper method to schedule next rate regulation task. 128 // Helper method to schedule next rate regulation task.
129 void ScheduleNextRateControl(); 129 void ScheduleNextRateControl();
130 130
131 void DoRateControl(); 131 void DoRateControl();
132 132
133 // DoSendUpdate takes ownership of header and is responsible for deleting it. 133 // DoSendUpdate takes ownership of header and is responsible for deleting it.
134 void DoSendUpdate(ChromotingHostMessage* message, 134 void DoSendUpdate(HostMessage* message,
135 Encoder::EncodingState state); 135 Encoder::EncodingState state);
136 void DoSendInit(scoped_refptr<ClientConnection> client, 136 void DoSendInit(scoped_refptr<ClientConnection> client,
137 int width, int height); 137 int width, int height);
138 138
139 void DoAddClient(scoped_refptr<ClientConnection> client); 139 void DoAddClient(scoped_refptr<ClientConnection> client);
140 void DoRemoveClient(scoped_refptr<ClientConnection> client); 140 void DoRemoveClient(scoped_refptr<ClientConnection> client);
141 void DoRemoveAllClients(); 141 void DoRemoveAllClients();
142 142
143 // Encoder thread ----------------------------------------------------------- 143 // Encoder thread -----------------------------------------------------------
144 144
145 void DoEncode(scoped_refptr<CaptureData> capture_data); 145 void DoEncode(scoped_refptr<CaptureData> capture_data);
146 146
147 // EncodeDataAvailableTask takes ownership of header and is responsible for 147 // EncodeDataAvailableTask takes ownership of header and is responsible for
148 // deleting it. 148 // deleting it.
149 void EncodeDataAvailableTask(ChromotingHostMessage* message, 149 void EncodeDataAvailableTask(HostMessage* message,
150 Encoder::EncodingState state); 150 Encoder::EncodingState state);
151 151
152 // Message loops used by this class. 152 // Message loops used by this class.
153 MessageLoop* capture_loop_; 153 MessageLoop* capture_loop_;
154 MessageLoop* encode_loop_; 154 MessageLoop* encode_loop_;
155 MessageLoop* network_loop_; 155 MessageLoop* network_loop_;
156 156
157 // Reference to the capturer. This member is always accessed on the capture 157 // Reference to the capturer. This member is always accessed on the capture
158 // thread. 158 // thread.
159 scoped_ptr<Capturer> capturer_; 159 scoped_ptr<Capturer> capturer_;
(...skipping 22 matching lines...) Expand all
182 182
183 // The following member is accessed on the network thread. 183 // The following member is accessed on the network thread.
184 bool rate_control_started_; 184 bool rate_control_started_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(SessionManager); 186 DISALLOW_COPY_AND_ASSIGN(SessionManager);
187 }; 187 };
188 188
189 } // namespace remoting 189 } // namespace remoting
190 190
191 #endif // REMOTING_HOST_RECORD_SESSION_H_ 191 #endif // REMOTING_HOST_RECORD_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/host/client_connection.cc ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698