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

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

Issue 10988004: Revert 158366 - Cleanups in Chromoting Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/constants_win.cc ('k') | remoting/host/desktop_process.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/daemon_process.h" 5 #include "remoting/host/daemon_process.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/win/scoped_handle.h" 16 #include "base/win/scoped_handle.h"
17 #include "remoting/host/host_exit_codes.h" 17 #include "remoting/host/constants.h"
18 #include "remoting/host/win/launch_process_with_token.h" 18 #include "remoting/host/win/launch_process_with_token.h"
19 #include "remoting/host/win/worker_process_launcher.h" 19 #include "remoting/host/win/worker_process_launcher.h"
20 20
21 using base::win::ScopedHandle; 21 using base::win::ScopedHandle;
22 using base::TimeDelta; 22 using base::TimeDelta;
23 23
24 namespace { 24 namespace {
25 25
26 // The minimum and maximum delays between attempts to launch the networking 26 // The minimum and maximum delays between attempts to launch the networking
27 // process. 27 // process.
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 scoped_ptr<DaemonProcess> DaemonProcess::Create( 276 scoped_ptr<DaemonProcess> DaemonProcess::Create(
277 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 277 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
278 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, 278 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
279 const base::Closure& stopped_callback) { 279 const base::Closure& stopped_callback) {
280 scoped_ptr<DaemonProcessWin> daemon_process( 280 scoped_ptr<DaemonProcessWin> daemon_process(
281 new DaemonProcessWin(main_task_runner, io_task_runner, stopped_callback)); 281 new DaemonProcessWin(main_task_runner, io_task_runner, stopped_callback));
282 return daemon_process.PassAs<DaemonProcess>(); 282 return daemon_process.PassAs<DaemonProcess>();
283 } 283 }
284 284
285 } // namespace remoting 285 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/constants_win.cc ('k') | remoting/host/desktop_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698