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

Unified Diff: net/proxy/polling_proxy_config_service.cc

Issue 8985012: base::Bind: Convert net/proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more include. Created 9 years 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/network_delegate_error_observer_unittest.cc ('k') | net/proxy/proxy_config_service_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/polling_proxy_config_service.cc
diff --git a/net/proxy/polling_proxy_config_service.cc b/net/proxy/polling_proxy_config_service.cc
index e1b921ab7aa55da8344b683647a8b7aa9f00c882..97fcda9bd56bcd83e9215892d039034e375f4b16 100644
--- a/net/proxy/polling_proxy_config_service.cc
+++ b/net/proxy/polling_proxy_config_service.cc
@@ -4,6 +4,7 @@
#include "net/proxy/polling_proxy_config_service.h"
+#include "base/bind.h"
#include "base/location.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop_proxy.h"
@@ -91,7 +92,7 @@ class PollingProxyConfigService::Core
poll_task_queued_ = false;
base::WorkerPool::PostTask(
FROM_HERE,
- NewRunnableMethod(this, &Core::PollOnWorkerThread, get_config_func_),
+ base::Bind(&Core::PollOnWorkerThread, this, get_config_func_),
true);
}
@@ -104,7 +105,7 @@ class PollingProxyConfigService::Core
if (origin_loop_proxy_) {
origin_loop_proxy_->PostTask(
FROM_HERE,
- NewRunnableMethod(this, &Core::GetConfigCompleted, config));
+ base::Bind(&Core::GetConfigCompleted, this, config));
}
}
« no previous file with comments | « net/proxy/network_delegate_error_observer_unittest.cc ('k') | net/proxy/proxy_config_service_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698