Index: chrome/browser/chrome_content_browser_client.h |
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h |
index 7fc27d390617e4db4e5f60d176123f65febca2bf..9456a061c3decc4c2d2fc94c887ce39efd3d0913 100644 |
--- a/chrome/browser/chrome_content_browser_client.h |
+++ b/chrome/browser/chrome_content_browser_client.h |
@@ -15,6 +15,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
+#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "build/build_config.h" |
#include "content/public/browser/content_browser_client.h" |
@@ -40,6 +41,10 @@ class BrowserContext; |
class QuotaPermissionContext; |
} |
+namespace safe_browsing { |
+class SafeBrowsingService; |
+} |
+ |
namespace user_prefs { |
class PrefRegistrySyncable; |
} |
@@ -317,6 +322,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() |
override; |
base::FilePath GetLoggingFileName() override; |
+ std::vector<std::unique_ptr<content::URLLoaderThrottle>> |
+ CreateURLLoaderThrottles( |
+ const base::Callback<content::WebContents*()>& wc_getter) override; |
private: |
friend class DisableWebRtcEncryptionFlagTest; |
@@ -372,6 +380,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
service_manager::BinderRegistry gpu_binder_registry_; |
+ scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_; |
+ |
base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |