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

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

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 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
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.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/threading/thread.h" 23 #include "base/threading/thread.h"
23 #include "base/utf_string_conversions.h"
24 #include "base/win/scoped_com_initializer.h" 24 #include "base/win/scoped_com_initializer.h"
25 #include "base/win/windows_version.h" 25 #include "base/win/windows_version.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/base/stoppable.h" 28 #include "remoting/base/stoppable.h"
29 #include "remoting/host/branding.h" 29 #include "remoting/host/branding.h"
30 #include "remoting/host/daemon_process.h" 30 #include "remoting/host/daemon_process.h"
31 #include "remoting/host/host_exit_codes.h" 31 #include "remoting/host/host_exit_codes.h"
32 #include "remoting/host/logging.h" 32 #include "remoting/host/logging.h"
33 #include "remoting/host/win/core_resource.h" 33 #include "remoting/host/win/core_resource.h"
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 int DaemonProcessMain() { 491 int DaemonProcessMain() {
492 HostService* service = HostService::GetInstance(); 492 HostService* service = HostService::GetInstance();
493 if (!service->InitWithCommandLine(CommandLine::ForCurrentProcess())) { 493 if (!service->InitWithCommandLine(CommandLine::ForCurrentProcess())) {
494 return kUsageExitCode; 494 return kUsageExitCode;
495 } 495 }
496 496
497 return service->Run(); 497 return service->Run();
498 } 498 }
499 499
500 } // namespace remoting 500 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/elevated_controller.cc ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698