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

Side by Side Diff: base/process/kill_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/prefs/pref_service.cc ('k') | base/process/launch_win.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.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" 15 #include "base/process_util.h"
16 #include "base/win/object_watcher.h" 16 #include "base/win/object_watcher.h"
17 17
18 namespace base { 18 namespace base {
19 19
20 namespace { 20 namespace {
21 21
22 // Exit codes with special meanings on Windows. 22 // Exit codes with special meanings on Windows.
23 const DWORD kNormalTerminationExitCode = 0; 23 const DWORD kNormalTerminationExitCode = 0;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 247 }
248 248
249 MessageLoop::current()->PostDelayedTask( 249 MessageLoop::current()->PostDelayedTask(
250 FROM_HERE, 250 FROM_HERE,
251 base::Bind(&TimerExpiredTask::TimedOut, 251 base::Bind(&TimerExpiredTask::TimedOut,
252 base::Owned(new TimerExpiredTask(process))), 252 base::Owned(new TimerExpiredTask(process))),
253 base::TimeDelta::FromMilliseconds(kWaitInterval)); 253 base::TimeDelta::FromMilliseconds(kWaitInterval));
254 } 254 }
255 255
256 } // namespace base 256 } // namespace base
OLDNEW
« no previous file with comments | « base/prefs/pref_service.cc ('k') | base/process/launch_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698