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

Unified Diff: net/proxy/proxy_config_service_linux.h

Issue 17078005: Move message_pump to base/message_loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « content/test/browser_test_message_pump_android.h ('k') | remoting/host/local_input_monitor_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_config_service_linux.h
diff --git a/net/proxy/proxy_config_service_linux.h b/net/proxy/proxy_config_service_linux.h
index 8bae4c818bfb6424ed13dc01b30ba862a34649c0..5dccd9deb77ba6ea745115bf731a88caad4ba9c2 100644
--- a/net/proxy/proxy_config_service_linux.h
+++ b/net/proxy/proxy_config_service_linux.h
@@ -251,13 +251,14 @@ class NET_EXPORT_PRIVATE ProxyConfigServiceLinux : public ProxyConfigService {
ProxyConfig reference_config_;
// The task runner for the glib thread, aka main browser thread. This thread
- // is where we run the glib main loop (see base/message_pump_glib.h). It is
- // the glib default loop in the sense that it runs the glib default context:
- // as in the context where sources are added by g_timeout_add and
- // g_idle_add, and returned by g_main_context_default. gconf uses glib
- // timeouts and idles and possibly other callbacks that will all be
- // dispatched on this thread. Since gconf is not thread safe, any use of
- // gconf must be done on the thread running this loop.
+ // is where we run the glib main loop (see
+ // base/message_loop/message_pump_glib.h). It is the glib default loop in
+ // the sense that it runs the glib default context: as in the context where
+ // sources are added by g_timeout_add and g_idle_add, and returned by
+ // g_main_context_default. gconf uses glib timeouts and idles and possibly
+ // other callbacks that will all be dispatched on this thread. Since gconf
+ // is not thread safe, any use of gconf must be done on the thread running
+ // this loop.
scoped_refptr<base::SingleThreadTaskRunner> glib_thread_task_runner_;
// Task runner for the IO thread. GetLatestProxyConfig() is called from
// the thread running this loop.
« no previous file with comments | « content/test/browser_test_message_pump_android.h ('k') | remoting/host/local_input_monitor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698