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

Side by Side Diff: remoting/host/chromoting_host.cc

Issue 2168303003: Removing 'AllowScopedIO' exception from SecurityKeyAuthHandlerLinux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp_dir
Patch Set: Fixing some comments Created 4 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
« no previous file with comments | « PRESUBMIT.py ('k') | remoting/host/remoting_me2me_host.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 #include "remoting/host/chromoting_host.h" 5 #include "remoting/host/chromoting_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/single_thread_task_runner.h"
16 #include "build/build_config.h" 17 #include "build/build_config.h"
17 #include "jingle/glue/thread_wrapper.h" 18 #include "jingle/glue/thread_wrapper.h"
18 #include "remoting/base/constants.h" 19 #include "remoting/base/constants.h"
19 #include "remoting/base/logging.h" 20 #include "remoting/base/logging.h"
20 #include "remoting/host/chromoting_host_context.h"
21 #include "remoting/host/desktop_environment.h" 21 #include "remoting/host/desktop_environment.h"
22 #include "remoting/host/host_config.h" 22 #include "remoting/host/host_config.h"
23 #include "remoting/host/input_injector.h" 23 #include "remoting/host/input_injector.h"
24 #include "remoting/protocol/client_stub.h" 24 #include "remoting/protocol/client_stub.h"
25 #include "remoting/protocol/host_stub.h" 25 #include "remoting/protocol/host_stub.h"
26 #include "remoting/protocol/ice_connection_to_client.h" 26 #include "remoting/protocol/ice_connection_to_client.h"
27 #include "remoting/protocol/input_stub.h" 27 #include "remoting/protocol/input_stub.h"
28 #include "remoting/protocol/transport_context.h" 28 #include "remoting/protocol/transport_context.h"
29 #include "remoting/protocol/webrtc_connection_to_client.h" 29 #include "remoting/protocol/webrtc_connection_to_client.h"
30 30
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 DCHECK(CalledOnValidThread()); 288 DCHECK(CalledOnValidThread());
289 289
290 while (!clients_.empty()) { 290 while (!clients_.empty()) {
291 size_t size = clients_.size(); 291 size_t size = clients_.size();
292 clients_.front()->DisconnectSession(protocol::OK); 292 clients_.front()->DisconnectSession(protocol::OK);
293 CHECK_EQ(clients_.size(), size - 1); 293 CHECK_EQ(clients_.size(), size - 1);
294 } 294 }
295 } 295 }
296 296
297 } // namespace remoting 297 } // namespace remoting
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698