| Index: net/url_request/url_fetcher_core.h
|
| diff --git a/net/url_request/url_fetcher_core.h b/net/url_request/url_fetcher_core.h
|
| index db0e8a11ff1956e4fe847ec29ebf66276b68bf9f..53bcf6210ffe38b9b35eb57be88dbd2c4f1dabcf 100644
|
| --- a/net/url_request/url_fetcher_core.h
|
| +++ b/net/url_request/url_fetcher_core.h
|
| @@ -20,6 +20,7 @@
|
| #include "net/base/chunked_upload_data_stream.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/http/http_request_headers.h"
|
| +#include "net/traffic_annotation/network_traffic_annotation.h"
|
| #include "net/url_request/url_fetcher.h"
|
| #include "net/url_request/url_request.h"
|
| #include "net/url_request/url_request_context_getter_observer.h"
|
| @@ -47,7 +48,8 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>,
|
| URLFetcherCore(URLFetcher* fetcher,
|
| const GURL& original_url,
|
| URLFetcher::RequestType request_type,
|
| - URLFetcherDelegate* d);
|
| + URLFetcherDelegate* d,
|
| + net::NetworkTrafficAnnotationTag traffic_annotation);
|
|
|
| // Starts the load. It's important that this not happen in the constructor
|
| // because it causes the IO thread to begin AddRef()ing and Release()ing
|
| @@ -346,6 +348,8 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>,
|
| // Total expected bytes to receive (-1 if it cannot be determined).
|
| int64_t total_response_bytes_;
|
|
|
| + const net::NetworkTrafficAnnotationTag traffic_annotation_;
|
| +
|
| static base::LazyInstance<Registry>::DestructorAtExit g_registry;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(URLFetcherCore);
|
|
|