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

Unified Diff: net/url_request/url_fetcher_impl.h

Issue 2846873002: Network traffic annotation added to URLFetcher. (Closed)
Patch Set: Comment addressed. 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
Index: net/url_request/url_fetcher_impl.h
diff --git a/net/url_request/url_fetcher_impl.h b/net/url_request/url_fetcher_impl.h
index 810b5b49afdfd0c76299ab16920a128026fd729e..c7b7ea7be8f779e125caee7ab551d06a71acc4a4 100644
--- a/net/url_request/url_fetcher_impl.h
+++ b/net/url_request/url_fetcher_impl.h
@@ -20,6 +20,7 @@
#include "base/macros.h"
#include "net/base/net_export.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher.h"
namespace net {
@@ -34,7 +35,8 @@ class NET_EXPORT_PRIVATE URLFetcherImpl : public URLFetcher {
// |d| the object that will receive the callback on fetch completion.
URLFetcherImpl(const GURL& url,
RequestType request_type,
- URLFetcherDelegate* d);
+ URLFetcherDelegate* d,
+ const net::NetworkTrafficAnnotationTag traffic_annotation);
asanka 2017/05/03 14:45:45 const unnecessary.
Ramin Halavati 2017/05/03 14:58:50 Done.
~URLFetcherImpl() override;
// URLFetcher implementation:

Powered by Google App Engine
This is Rietveld 408576698