| Index: content/common/throttling_url_loader.h
|
| diff --git a/content/common/throttling_url_loader.h b/content/common/throttling_url_loader.h
|
| index 98dc5e43d60868e61def6f97dbceb53ae96cea52..00f603c3aea8dff804d14428862fb583252db52a 100644
|
| --- a/content/common/throttling_url_loader.h
|
| +++ b/content/common/throttling_url_loader.h
|
| @@ -41,6 +41,7 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
|
| uint32_t options,
|
| std::unique_ptr<ResourceRequest> url_request,
|
| mojom::URLLoaderClient* client,
|
| + const net::MutableNetworkTrafficAnnotationTag& traffic_annotation,
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner =
|
| base::ThreadTaskRunnerHandle::Get());
|
|
|
| @@ -50,8 +51,10 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
|
| void SetPriority(net::RequestPriority priority, int32_t intra_priority_value);
|
|
|
| private:
|
| - ThrottlingURLLoader(std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
|
| - mojom::URLLoaderClient* client);
|
| + ThrottlingURLLoader(
|
| + std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
|
| + mojom::URLLoaderClient* client,
|
| + const net::MutableNetworkTrafficAnnotationTag& traffic_annotation);
|
|
|
| void Start(mojom::URLLoaderFactory* factory,
|
| int32_t routing_id,
|
| @@ -151,6 +154,8 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
|
| // Set if request is deferred and SetPriority() is called.
|
| std::unique_ptr<PriorityInfo> priority_info_;
|
|
|
| + const net::MutableNetworkTrafficAnnotationTag traffic_annotation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ThrottlingURLLoader);
|
| };
|
|
|
|
|