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

Unified Diff: net/proxy/proxy_config_service.h

Issue 10912132: Move ProxyConfigService construction onto the IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust comments Created 8 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
Index: net/proxy/proxy_config_service.h
diff --git a/net/proxy/proxy_config_service.h b/net/proxy/proxy_config_service.h
index 5e14995d0933fe615f8d5b1a0eb1dadb877b938e..d0247973a371307ceb9f8e539366348438075314 100644
--- a/net/proxy/proxy_config_service.h
+++ b/net/proxy/proxy_config_service.h
@@ -61,6 +61,12 @@ class NET_EXPORT ProxyConfigService {
// X seconds at which point they check for changes. However that has
// the disadvantage of doing continuous work even during idle periods.
virtual void OnLazyPoll() {}
+
+
+ // Called on the Glib thread to indicate now is the time for shutdown work
digit1 2012/10/19 10:32:46 Again, this file is not 100% specific to Linux, so
+ // that must occur on the Glib thread. Its also one of the last safe times
+ // to post shutdown tasks to other browser threads.
+ virtual void StartTearDown() {}
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698