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

Unified Diff: chrome/browser/chromeos/web_socket_proxy_controller.cc

Issue 10026013: Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 7 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
Index: chrome/browser/chromeos/web_socket_proxy_controller.cc
diff --git a/chrome/browser/chromeos/web_socket_proxy_controller.cc b/chrome/browser/chromeos/web_socket_proxy_controller.cc
index 50d286cc1ac36652d150db34a6ef639af59a0b91..d356ff9bd763b90e417d66dd24314cad60282c03 100644
--- a/chrome/browser/chromeos/web_socket_proxy_controller.cc
+++ b/chrome/browser/chromeos/web_socket_proxy_controller.cc
@@ -101,12 +101,12 @@ class ProxyLifetime
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&ProxyLifetime::ProxyCallback, base::Unretained(this)),
- delay_ms_);
+ base::TimeDelta::FromMilliseconds(delay_ms_));
}
}
}
- // Delay between next attempt to run proxy.
+ // Delay in milliseconds between next attempt to run proxy.
int volatile delay_ms_;
// Proxy listens for incoming websocket connections on this port.

Powered by Google App Engine
This is Rietveld 408576698