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

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

Issue 20265004: Update include paths in base for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT 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_posix.cc ('k') | base/process/launch_posix.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/kill.h" 5 #include "base/process/kill.h"
6 6
7 #include <io.h> 7 #include <io.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/process/process_iterator.h" 14 #include "base/process/process_iterator.h"
15 #include "base/process_util.h"
16 #include "base/win/object_watcher.h" 15 #include "base/win/object_watcher.h"
17 16
18 namespace base { 17 namespace base {
19 18
20 namespace { 19 namespace {
21 20
22 // Exit codes with special meanings on Windows. 21 // Exit codes with special meanings on Windows.
23 const DWORD kNormalTerminationExitCode = 0; 22 const DWORD kNormalTerminationExitCode = 0;
24 const DWORD kDebuggerInactiveExitCode = 0xC0000354; 23 const DWORD kDebuggerInactiveExitCode = 0xC0000354;
25 const DWORD kKeyboardInterruptExitCode = 0xC000013A; 24 const DWORD kKeyboardInterruptExitCode = 0xC000013A;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 246 }
248 247
249 MessageLoop::current()->PostDelayedTask( 248 MessageLoop::current()->PostDelayedTask(
250 FROM_HERE, 249 FROM_HERE,
251 base::Bind(&TimerExpiredTask::TimedOut, 250 base::Bind(&TimerExpiredTask::TimedOut,
252 base::Owned(new TimerExpiredTask(process))), 251 base::Owned(new TimerExpiredTask(process))),
253 base::TimeDelta::FromMilliseconds(kWaitInterval)); 252 base::TimeDelta::FromMilliseconds(kWaitInterval));
254 } 253 }
255 254
256 } // namespace base 255 } // namespace base
OLDNEW
« no previous file with comments | « base/process/kill_posix.cc ('k') | base/process/launch_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698