Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 2846873002: Network traffic annotation added to URLFetcher. (Closed)
Patch Set: Unnecessary const(s) removed. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..05605f59be8a885f20b3de15cfb03e482dc54fc6 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,
+ net::NetworkTrafficAnnotationTag traffic_annotation)
+ : core_(
+ new URLFetcherCore(this, url, request_type, d, traffic_annotation)) {}
URLFetcherImpl::~URLFetcherImpl() {
core_->Stop();
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698