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

Side by Side Diff: base/process/launch_win.cc

Issue 19224003: Use a direct include of the message_loop header in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « base/process/kill_win.cc ('k') | base/run_loop.h » ('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 "base/process/launch.h" 5 #include "base/process/launch.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <io.h> 8 #include <io.h>
9 #include <windows.h> 9 #include <windows.h>
10 #include <userenv.h> 10 #include <userenv.h>
11 #include <psapi.h> 11 #include <psapi.h>
12 12
13 #include <ios> 13 #include <ios>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/bind_helpers.h" 16 #include "base/bind_helpers.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/debug/stack_trace.h" 18 #include "base/debug/stack_trace.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
21 #include "base/message_loop.h" 21 #include "base/message_loop/message_loop.h"
22 #include "base/metrics/histogram.h" 22 #include "base/metrics/histogram.h"
23 #include "base/process/kill.h" 23 #include "base/process/kill.h"
24 #include "base/sys_info.h" 24 #include "base/sys_info.h"
25 #include "base/win/object_watcher.h" 25 #include "base/win/object_watcher.h"
26 #include "base/win/scoped_handle.h" 26 #include "base/win/scoped_handle.h"
27 #include "base/win/scoped_process_information.h" 27 #include "base/win/scoped_process_information.h"
28 #include "base/win/windows_version.h" 28 #include "base/win/windows_version.h"
29 29
30 // userenv.dll is required for CreateEnvironmentBlock(). 30 // userenv.dll is required for CreateEnvironmentBlock().
31 #pragma comment(lib, "userenv.lib") 31 #pragma comment(lib, "userenv.lib")
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 WaitForSingleObject(proc_info.process_handle(), INFINITE); 274 WaitForSingleObject(proc_info.process_handle(), INFINITE);
275 275
276 return true; 276 return true;
277 } 277 }
278 278
279 void RaiseProcessToHighPriority() { 279 void RaiseProcessToHighPriority() {
280 SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS); 280 SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
281 } 281 }
282 282
283 } // namespace base 283 } // namespace base
OLDNEW
« no previous file with comments | « base/process/kill_win.cc ('k') | base/run_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698