Chromium Code Reviews| 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 eff95b9037cc489af64f88d8befdd3fffea71d13..995c63eaf65d3ed5c994b25edf79451535a4d165 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; |
| } |
| @@ -319,6 +324,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
| void PerformExperimentalTaskSchedulerRedirections() override; |
| bool ShouldRedirectDOMStorageTaskRunner() override; |
| bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
| + std::vector<std::unique_ptr<content::URLLoaderThrottle>> |
| + CreateURLLoaderThrottles( |
| + const base::Callback<content::WebContents*()>& wc_getter) override; |
| private: |
| friend class DisableWebRtcEncryptionFlagTest; |
| @@ -374,6 +382,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
| service_manager::BinderRegistry gpu_binder_registry_; |
| + scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; |
|
vakh (use Gerrit instead)
2017/06/15 21:52:58
I'd prefer calling this safe_browsing_service_ or
yzshen1
2017/06/16 21:27:09
Done.
|
| + |
| base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |