| Index: content/common/throttling_url_loader.h
|
| diff --git a/content/common/throttling_url_loader.h b/content/common/throttling_url_loader.h
|
| index 202d51dc31a31be214ce478dc19c427e3458d59e..519ddd3edac69d4a986e8a028b067e227e5192a8 100644
|
| --- a/content/common/throttling_url_loader.h
|
| +++ b/content/common/throttling_url_loader.h
|
| @@ -34,7 +34,8 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
|
| int32_t request_id,
|
| uint32_t options,
|
| std::unique_ptr<ResourceRequest> url_request,
|
| - mojom::URLLoaderClient* client);
|
| + mojom::URLLoaderClient* client,
|
| + const net::MutableNetworkTrafficAnnotationTag& traffic_annotation);
|
|
|
| ~ThrottlingURLLoader() override;
|
|
|
| @@ -42,8 +43,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,
|
| @@ -109,6 +112,8 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
|
| net::RequestPriority priority_ = net::MINIMUM_PRIORITY;
|
| int32_t intra_priority_value_ = 0;
|
|
|
| + const net::MutableNetworkTrafficAnnotationTag traffic_annotation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ThrottlingURLLoader);
|
| };
|
|
|
|
|