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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 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 4bcf211f63a0cdf084df2c4ad9e4445451756b63..4cc3c28af48a09322642c7b483f5025e16220e0f 100644
--- a/chrome/browser/chromeos/web_socket_proxy_controller.cc
+++ b/chrome/browser/chromeos/web_socket_proxy_controller.cc
@@ -41,7 +41,7 @@ class ProxyLifetime
shutdown_requested_(false),
web_socket_proxy_thread_("Chrome_WebSocketproxyThread") {
DLOG(INFO) << "WebSocketProxyController initiation";
- base::Thread::Options options(MessageLoop::TYPE_IO, 0);
+ base::Thread::Options options(base::MessageLoop::TYPE_IO, 0);
web_socket_proxy_thread_.StartWithOptions(options);
web_socket_proxy_thread_.message_loop()->PostTask(
FROM_HERE,
@@ -98,7 +98,7 @@ class ProxyLifetime
if (delay_ms_ < 100 * 1000)
(delay_ms_ *= 3) /= 2;
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&ProxyLifetime::ProxyCallback, base::Unretained(this)),
base::TimeDelta::FromMilliseconds(delay_ms_));
« no previous file with comments | « chrome/browser/chromeos/web_socket_proxy.cc ('k') | chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698