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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2924723002: Network service: SafeBrowsing check for frame-resources from browser. (Closed)
Patch Set: . Created 3 years, 6 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: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 7f00fb51046525198fe4a6d4458f08e508718458..c523e70819365051a183dcfd1ba34ecbb7ff50d1 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -15,6 +15,7 @@
#include "content/public/browser/navigation_ui_data.h"
#include "content/public/browser/vpn_service_proxy.h"
#include "content/public/common/sandbox_type.h"
+#include "content/public/common/url_loader_throttle.h"
#include "media/audio/audio_manager.h"
#include "media/base/cdm_factory.h"
#include "media/media_features.h"
@@ -463,4 +464,10 @@ bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
return false;
}
+std::vector<std::unique_ptr<URLLoaderThrottle>>
+ContentBrowserClient::CreateURLLoaderThrottles(
+ const base::Callback<WebContents*()>& wc_getter) {
+ return std::vector<std::unique_ptr<URLLoaderThrottle>>();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698