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

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

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Revert accidental format Created 3 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/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..d68e8d518d362891d10920f77bb779b7a198617c 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -44,6 +44,7 @@ class ChromeURLRequestContextGetter;
class ChromeExpectCTReporter;
class HostContentSettingsMap;
class MediaDeviceIDSalt;
+class NetHttpSessionParamsObserver;
class ProtocolHandlerRegistry;
class SupervisedUserURLFilter;
@@ -264,6 +265,9 @@ class ProfileIOData {
// Get platform ClientCertStore. May return nullptr.
std::unique_ptr<net::ClientCertStore> CreateClientCertStore();
+ // Called on IO thread thread to disable QUIC.
+ void DisableQuicOnIOThread();
+
protected:
// A URLRequestContext for media that owns its HTTP factory, to ensure
// it is deleted.
@@ -552,6 +556,11 @@ class ProfileIOData {
BooleanPrefMember enable_metrics_;
+ // Observes profile's preference for changes to prefs which affect
+ // HttpNetworkSession params.
+ std::unique_ptr<NetHttpSessionParamsObserver>
+ net_http_session_params_observer_;
+
// Pointed to by NetworkDelegate.
mutable std::unique_ptr<policy::URLBlacklistManager> url_blacklist_manager_;
mutable std::unique_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_;
« no previous file with comments | « chrome/browser/profiles/net_http_session_params_observer.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698