Chromium Code Reviews| Index: net/url_request/url_fetcher_impl.cc |
| diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc |
| index bdeee40be40d42ab001112c887eb4e6cfad7ffa8..459886a84cddd58de842c16bf2165d4d063f018c 100644 |
| --- a/net/url_request/url_fetcher_impl.cc |
| +++ b/net/url_request/url_fetcher_impl.cc |
| @@ -17,11 +17,13 @@ namespace net { |
| static URLFetcherFactory* g_factory = NULL; |
| -URLFetcherImpl::URLFetcherImpl(const GURL& url, |
| - RequestType request_type, |
| - URLFetcherDelegate* d) |
| - : core_(new URLFetcherCore(this, url, request_type, d)) { |
| -} |
| +URLFetcherImpl::URLFetcherImpl( |
| + const GURL& url, |
| + RequestType request_type, |
| + URLFetcherDelegate* d, |
| + const net::NetworkTrafficAnnotationTag& traffic_annotation) |
|
asanka
2017/05/02 20:38:59
why are all these NetworkTrafficAnnotationTarg& ?
Ramin Halavati
2017/05/03 14:02:09
You are right, removed all.
|
| + : core_( |
| + new URLFetcherCore(this, url, request_type, d, traffic_annotation)) {} |
| URLFetcherImpl::~URLFetcherImpl() { |
| core_->Stop(); |