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

Unified Diff: net/test/local_test_server.cc

Issue 10692155: Switch to TimeDelta interfaces for process waiting functions in net and ipc. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc ('k') | net/test/local_test_server_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/local_test_server.cc
diff --git a/net/test/local_test_server.cc b/net/test/local_test_server.cc
index 7fe3e589ee305dc9794b62d7b5847c8b7d03220d..e67d4f950df380d833d3503203ed898d24fedfb0 100644
--- a/net/test/local_test_server.cc
+++ b/net/test/local_test_server.cc
@@ -122,7 +122,7 @@ bool LocalTestServer::Stop() {
return true;
// First check if the process has already terminated.
- bool ret = base::WaitForSingleProcess(process_handle_, 0);
+ bool ret = base::WaitForSingleProcess(process_handle_, base::TimeDelta());
if (!ret)
ret = base::KillProcess(process_handle_, 1, true);
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc ('k') | net/test/local_test_server_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698