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

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

Issue 2615113005: [Chromoting] Use HostExperimentSessionPlugin in host (Closed)
Patch Set: Resolve review comments Created 3 years, 10 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 | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_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 (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 #ifndef REMOTING_HOST_CLIENT_SESSION_H_ 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_
6 #define REMOTING_HOST_CLIENT_SESSION_H_ 6 #define REMOTING_HOST_CLIENT_SESSION_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/sequenced_task_runner_helpers.h" 15 #include "base/sequenced_task_runner_helpers.h"
16 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "base/timer/timer.h" 18 #include "base/timer/timer.h"
19 #include "remoting/host/client_session_control.h" 19 #include "remoting/host/client_session_control.h"
20 #include "remoting/host/client_session_details.h" 20 #include "remoting/host/client_session_details.h"
21 #include "remoting/host/desktop_environment_options.h" 21 #include "remoting/host/desktop_environment_options.h"
22 #include "remoting/host/host_experiment_session_plugin.h"
22 #include "remoting/host/host_extension_session_manager.h" 23 #include "remoting/host/host_extension_session_manager.h"
23 #include "remoting/host/remote_input_filter.h" 24 #include "remoting/host/remote_input_filter.h"
24 #include "remoting/protocol/clipboard_echo_filter.h" 25 #include "remoting/protocol/clipboard_echo_filter.h"
25 #include "remoting/protocol/clipboard_filter.h" 26 #include "remoting/protocol/clipboard_filter.h"
26 #include "remoting/protocol/clipboard_stub.h" 27 #include "remoting/protocol/clipboard_stub.h"
27 #include "remoting/protocol/connection_to_client.h" 28 #include "remoting/protocol/connection_to_client.h"
28 #include "remoting/protocol/host_stub.h" 29 #include "remoting/protocol/host_stub.h"
29 #include "remoting/protocol/input_event_tracker.h" 30 #include "remoting/protocol/input_event_tracker.h"
30 #include "remoting/protocol/input_filter.h" 31 #include "remoting/protocol/input_filter.h"
31 #include "remoting/protocol/input_stub.h" 32 #include "remoting/protocol/input_stub.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 bool lossless_video_encode_ = false; 239 bool lossless_video_encode_ = false;
239 bool lossless_video_color_ = false; 240 bool lossless_video_color_ = false;
240 241
241 // VideoLayout is sent only after the control channel is connected. Until 242 // VideoLayout is sent only after the control channel is connected. Until
242 // then it's stored in |pending_video_layout_message_|. 243 // then it's stored in |pending_video_layout_message_|.
243 std::unique_ptr<protocol::VideoLayout> pending_video_layout_message_; 244 std::unique_ptr<protocol::VideoLayout> pending_video_layout_message_;
244 245
245 scoped_refptr<protocol::InputEventTimestampsSource> 246 scoped_refptr<protocol::InputEventTimestampsSource>
246 event_timestamp_source_for_tests_; 247 event_timestamp_source_for_tests_;
247 248
249 HostExperimentSessionPlugin host_experiment_session_plugin_;
250
248 // Used to disable callbacks to |this| once DisconnectSession() has been 251 // Used to disable callbacks to |this| once DisconnectSession() has been
249 // called. 252 // called.
250 base::WeakPtrFactory<ClientSessionControl> weak_factory_; 253 base::WeakPtrFactory<ClientSessionControl> weak_factory_;
251 254
252 DISALLOW_COPY_AND_ASSIGN(ClientSession); 255 DISALLOW_COPY_AND_ASSIGN(ClientSession);
253 }; 256 };
254 257
255 } // namespace remoting 258 } // namespace remoting
256 259
257 #endif // REMOTING_HOST_CLIENT_SESSION_H_ 260 #endif // REMOTING_HOST_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698