| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 1bc1287d449edb6764bc333e5ebee6ed291e8fad..e416f0c685e06fe1c997ae601bbb55dd2ff652b8 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -129,6 +129,7 @@ class SiteInstance;
|
| class SpeechRecognitionManagerDelegate;
|
| class StoragePartition;
|
| class TracingDelegate;
|
| +class URLLoaderThrottle;
|
| class VpnServiceProxy;
|
| class WebContents;
|
| class WebContentsViewDelegate;
|
| @@ -803,6 +804,12 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // If this returns true, all BrowserThreads (but UI/IO) that support it on
|
| // this platform will experimentally be redirected to TaskScheduler.
|
| virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
|
| +
|
| + // Allows the embedder to register one or more URLLoaderThrottles for a
|
| + // URL request. This is used only when --enable-network-service is in effect.
|
| + // This is called on the IO thread.
|
| + virtual std::vector<std::unique_ptr<URLLoaderThrottle>>
|
| + CreateURLLoaderThrottles(const base::Callback<WebContents*()>& wc_getter);
|
| };
|
|
|
| } // namespace content
|
|
|