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

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: Remove extra blank line 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..33d0e148435732df64ba60b6816d1c61fa910e68 100644
--- a/net/proxy/proxy_config_service.h
+++ b/net/proxy/proxy_config_service.h
@@ -61,6 +61,11 @@ 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 main thread to indicate now is the time for shutdown work
+ // that must occur on the main thread. Its also one of the last safe times
+ // to post shutdown tasks to other browser threads.
Ryan Sleevi 2012/10/19 17:56:43 nit: comment layering violation within net/ "to ot
+ virtual void StartTearDown() {}
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698