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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Reviewers' feedback Created 3 years, 12 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/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 4a5666273294a96ae2a26c5c3f7b5c18b072d98b..921e9bef2d5b84817baa6ff3042ac44781633380 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -22,6 +22,7 @@
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "chrome/browser/devtools/devtools_network_controller_handle.h"
#include "chrome/browser/io_thread.h"
+#include "chrome/browser/net/net_pref_observer.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/storage_partition_descriptor.h"
#include "chrome/common/features.h"
@@ -264,6 +265,10 @@ class ProfileIOData {
// Get platform ClientCertStore. May return nullptr.
std::unique_ptr<net::ClientCertStore> CreateClientCertStore();
+ // Called on IO thread thread when net parameters change (e.g. due to policy).
+ void UpdateNetParamsOnIOThread(
+ NetPrefObserver::NetParamsChange net_params_change);
+
protected:
// A URLRequestContext for media that owns its HTTP factory, to ensure
// it is deleted.

Powered by Google App Engine
This is Rietveld 408576698