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

Unified Diff: net/test/local_test_server_posix.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/test/local_test_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/local_test_server_posix.cc
diff --git a/net/test/local_test_server_posix.cc b/net/test/local_test_server_posix.cc
index 3756b69f4395974dd68a4246a2d105d519ddc501..3e47a0f357569c9d7c99f27e74b7ff513b136b04 100644
--- a/net/test/local_test_server_posix.cc
+++ b/net/test/local_test_server_posix.cc
@@ -141,8 +141,7 @@ bool LocalTestServer::LaunchPython(const FilePath& testserver_path) {
bool LocalTestServer::WaitToStart() {
file_util::ScopedFD child_fd_closer(child_fd_closer_.release());
- base::TimeDelta remaining_time = base::TimeDelta::FromMilliseconds(
- TestTimeouts::action_timeout_ms());
+ base::TimeDelta remaining_time = TestTimeouts::action_timeout();
uint32 server_data_len = 0;
if (!ReadData(child_fd_, sizeof(server_data_len),
« no previous file with comments | « net/test/local_test_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698