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

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

Issue 19574007: Use a direct include of the message_loop header in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/chromoting_module.cc ('k') | remoting/host/win/rdp_client_unittest.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 // 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/host_service.h" 8 #include "remoting/host/win/host_service.h"
9 9
10 #include <sddl.h> 10 #include <sddl.h>
11 #include <windows.h> 11 #include <windows.h>
12 #include <wtsapi32.h> 12 #include <wtsapi32.h>
13 13
14 #include "base/base_paths.h" 14 #include "base/base_paths.h"
15 #include "base/base_switches.h" 15 #include "base/base_switches.h"
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/files/file_path.h" 18 #include "base/files/file_path.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop/message_loop.h"
20 #include "base/run_loop.h" 20 #include "base/run_loop.h"
21 #include "base/single_thread_task_runner.h" 21 #include "base/single_thread_task_runner.h"
22 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
23 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
24 #include "base/win/message_window.h" 24 #include "base/win/message_window.h"
25 #include "base/win/scoped_com_initializer.h" 25 #include "base/win/scoped_com_initializer.h"
26 #include "remoting/base/auto_thread.h" 26 #include "remoting/base/auto_thread.h"
27 #include "remoting/base/scoped_sc_handle_win.h" 27 #include "remoting/base/scoped_sc_handle_win.h"
28 #include "remoting/host/branding.h" 28 #include "remoting/host/branding.h"
29 #include "remoting/host/daemon_process.h" 29 #include "remoting/host/daemon_process.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 int DaemonProcessMain() { 436 int DaemonProcessMain() {
437 HostService* service = HostService::GetInstance(); 437 HostService* service = HostService::GetInstance();
438 if (!service->InitWithCommandLine(CommandLine::ForCurrentProcess())) { 438 if (!service->InitWithCommandLine(CommandLine::ForCurrentProcess())) {
439 return kUsageExitCode; 439 return kUsageExitCode;
440 } 440 }
441 441
442 return service->Run(); 442 return service->Run();
443 } 443 }
444 444
445 } // namespace remoting 445 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/chromoting_module.cc ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698