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

Side by Side Diff: remoting/host/win/wts_session_process_launcher.cc

Issue 10913260: 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/win/omaha.cc ('k') | remoting/remoting.gyp » ('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 // This file implements the Windows service controlling Me2Me host processes 5 // This file implements the Windows service controlling Me2Me host processes
6 // running within user sessions. 6 // running within user sessions.
7 7
8 #include "remoting/host/win/wts_session_process_launcher.h" 8 #include "remoting/host/win/wts_session_process_launcher.h"
9 9
10 #include <windows.h> 10 #include <windows.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/single_thread_task_runner.h" 21 #include "base/single_thread_task_runner.h"
22 #include "base/path_service.h" 22 #include "base/path_service.h"
23 #include "base/rand_util.h" 23 #include "base/rand_util.h"
24 #include "base/stringprintf.h" 24 #include "base/stringprintf.h"
25 #include "base/utf_string_conversions.h" 25 #include "base/utf_string_conversions.h"
26 #include "base/win/scoped_handle.h" 26 #include "base/win/scoped_handle.h"
27 #include "base/win/windows_version.h" 27 #include "base/win/windows_version.h"
28 #include "ipc/ipc_channel_proxy.h" 28 #include "ipc/ipc_channel_proxy.h"
29 #include "ipc/ipc_message.h" 29 #include "ipc/ipc_message.h"
30 #include "ipc/ipc_message_macros.h" 30 #include "ipc/ipc_message_macros.h"
31 #include "remoting/host/constants.h"
32 #include "remoting/host/chromoting_messages.h" 31 #include "remoting/host/chromoting_messages.h"
32 #include "remoting/host/host_exit_codes.h"
33 #include "remoting/host/win/launch_process_with_token.h" 33 #include "remoting/host/win/launch_process_with_token.h"
34 #include "remoting/host/win/wts_console_monitor.h" 34 #include "remoting/host/win/wts_console_monitor.h"
35 35
36 using base::win::ScopedHandle; 36 using base::win::ScopedHandle;
37 using base::TimeDelta; 37 using base::TimeDelta;
38 38
39 namespace { 39 namespace {
40 40
41 // The minimum and maximum delays between attempts to inject host process into 41 // The minimum and maximum delays between attempts to inject host process into
42 // a session. 42 // a session.
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 launch_backoff_, TimeDelta::FromSeconds(kMaxLaunchDelaySeconds)); 693 launch_backoff_, TimeDelta::FromSeconds(kMaxLaunchDelaySeconds));
694 } 694 }
695 695
696 // Try to launch the worker process. 696 // Try to launch the worker process.
697 timer_.Start(FROM_HERE, launch_backoff_, 697 timer_.Start(FROM_HERE, launch_backoff_,
698 this, &WtsSessionProcessLauncher::LaunchProcess); 698 this, &WtsSessionProcessLauncher::LaunchProcess);
699 } 699 }
700 } 700 }
701 701
702 } // namespace remoting 702 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/omaha.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698