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

Unified Diff: chrome/browser/net/spdyproxy/proxy_advisor.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 2 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 | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/spdyproxy/proxy_advisor.cc
diff --git a/chrome/browser/net/spdyproxy/proxy_advisor.cc b/chrome/browser/net/spdyproxy/proxy_advisor.cc
index 201de28e811fc00ecd416a9f3fa6f3b010f19d2a..8a9bc4999401cd09e59ab9a63ec7f5cd585426c0 100644
--- a/chrome/browser/net/spdyproxy/proxy_advisor.cc
+++ b/chrome/browser/net/spdyproxy/proxy_advisor.cc
@@ -85,7 +85,7 @@ ProxyAdvisor::ProxyAdvisor(PrefService* pref_service,
data_reduction_proxy::prefs::kDataReductionProxyEnabled,
pref_service,
base::Bind(&ProxyAdvisor::UpdateProxyState, base::Unretained(this)));
- proxy_pref_member_.MoveToThread(
+ proxy_pref_member_.UseAlternateTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
}
}
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698