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

Unified Diff: chrome/browser/io_thread.h

Issue 1562593002: Fix potential crashes in NetworkHandler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test
Patch Set: Created 4 years, 11 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: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index b7ca041b63978eeeddf1ec4473125169e29ce5d3..e912666c8f69c70ccdd6b85a3dafa867e8fad7bc 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -279,6 +279,11 @@ class IOThread : public content::BrowserThreadDelegate {
void InitializeNetworkSessionParams(net::HttpNetworkSession::Params* params);
+ // Resets pref_proxy_config_tracker_. Required on Chrome OS to ensure that
+ // ProxyConfigServiceImpl is destroyed before NetworkHandler. Must only
+ // be called during shutdown.
+ void ShutdownPrefProxyConfigTracker();
+
base::TimeTicks creation_time() const;
// Returns true if QUIC should be enabled for data reduction proxy, either as

Powered by Google App Engine
This is Rietveld 408576698