Index: remoting/base/chromium_url_request.h |
diff --git a/remoting/base/chromium_url_request.h b/remoting/base/chromium_url_request.h |
index 2593672a3ddc854203d68773312847a625b9f09f..e4e7355cbaabfdd0ed59ceeee7ad18e6ccfa52f2 100644 |
--- a/remoting/base/chromium_url_request.h |
+++ b/remoting/base/chromium_url_request.h |
@@ -9,6 +9,7 @@ |
#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
+#include "net/traffic_annotation/network_traffic_annotation.h" |
#include "net/url_request/url_fetcher_delegate.h" |
#include "remoting/base/url_request.h" |
@@ -21,9 +22,11 @@ namespace remoting { |
// UrlRequest implementation based on net::URLFetcher. |
class ChromiumUrlRequest : public UrlRequest, public net::URLFetcherDelegate { |
public: |
- ChromiumUrlRequest(scoped_refptr<net::URLRequestContextGetter> url_context, |
- UrlRequest::Type type, |
- const std::string& url); |
+ ChromiumUrlRequest( |
+ scoped_refptr<net::URLRequestContextGetter> url_context, |
+ UrlRequest::Type type, |
+ const std::string& url, |
+ const net::NetworkTrafficAnnotationTag& traffic_annotation); |
~ChromiumUrlRequest() override; |
// UrlRequest interface. |
@@ -47,8 +50,10 @@ class ChromiumUrlRequestFactory : public UrlRequestFactory { |
~ChromiumUrlRequestFactory() override; |
// UrlRequestFactory interface. |
- std::unique_ptr<UrlRequest> CreateUrlRequest(UrlRequest::Type type, |
- const std::string& url) override; |
+ std::unique_ptr<UrlRequest> CreateUrlRequest( |
+ UrlRequest::Type type, |
+ const std::string& url, |
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) override; |
private: |
scoped_refptr<net::URLRequestContextGetter> url_context_; |