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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Rebase 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/safe_browsing/safe_browsing_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index d036c6c060be2087cbc7c06da9b54aa714352407..5f0e9d720944cf39efbee35dced81791cb08a4f4 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -20,6 +20,7 @@
#include "components/safe_browsing/base_safe_browsing_service.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "net/http/http_network_session.h"
#if defined(FULL_SAFE_BROWSING)
#include "chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h"
@@ -112,6 +113,10 @@ class SafeBrowsingService : public BaseSafeBrowsingService,
scoped_refptr<net::URLRequestContextGetter> url_request_context() override;
+ // Called on IO thread thread when net parameters change (e.g. due to policy).
+ void UpdateNetParamsOnIOThread(
+ net::HttpNetworkSession::ParamsUpdate params_update);
+
const scoped_refptr<SafeBrowsingUIManager>& ui_manager() const;
// This returns either the v3 or the v4 database manager, depending on

Powered by Google App Engine
This is Rietveld 408576698