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

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

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant base:: prefix Created 4 years, 8 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
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 <shellapi.h> 9 #include <shellapi.h>
10 #include <windows.h> 10 #include <windows.h>
11 #include <userenv.h> 11 #include <userenv.h>
12 #include <psapi.h> 12 #include <psapi.h>
13 13
14 #include <ios> 14 #include <ios>
15 #include <limits> 15 #include <limits>
16 #include <memory>
Nico 2016/04/04 17:14:56 unused
dcheng 2016/04/04 17:43:39 Done.
16 17
17 #include "base/bind.h" 18 #include "base/bind.h"
18 #include "base/bind_helpers.h" 19 #include "base/bind_helpers.h"
19 #include "base/command_line.h" 20 #include "base/command_line.h"
20 #include "base/debug/stack_trace.h" 21 #include "base/debug/stack_trace.h"
21 #include "base/logging.h" 22 #include "base/logging.h"
22 #include "base/memory/scoped_ptr.h"
23 #include "base/message_loop/message_loop.h" 23 #include "base/message_loop/message_loop.h"
24 #include "base/metrics/histogram.h" 24 #include "base/metrics/histogram.h"
25 #include "base/process/kill.h" 25 #include "base/process/kill.h"
26 #include "base/strings/utf_string_conversions.h" 26 #include "base/strings/utf_string_conversions.h"
27 #include "base/sys_info.h" 27 #include "base/sys_info.h"
28 #include "base/win/object_watcher.h" 28 #include "base/win/object_watcher.h"
29 #include "base/win/scoped_handle.h" 29 #include "base/win/scoped_handle.h"
30 #include "base/win/scoped_process_information.h" 30 #include "base/win/scoped_process_information.h"
31 #include "base/win/startup_information.h" 31 #include "base/win/startup_information.h"
32 #include "base/win/windows_version.h" 32 #include "base/win/windows_version.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 bool GetAppOutput(const StringPiece16& cl, std::string* output) { 387 bool GetAppOutput(const StringPiece16& cl, std::string* output) {
388 return GetAppOutputInternal(cl, false, output); 388 return GetAppOutputInternal(cl, false, output);
389 } 389 }
390 390
391 void RaiseProcessToHighPriority() { 391 void RaiseProcessToHighPriority() {
392 SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS); 392 SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
393 } 393 }
394 394
395 } // namespace base 395 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698