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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)
Patch Set: Changed ParamTraits to StructTraits. Created 3 years, 6 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: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index f97684515fb3edb5d0365158acaf81a06182f06b..318bbaa8da01b23cc12d614b2ac4bc7397cbd743 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -670,7 +670,8 @@ int ResourceDispatcher::StartAsync(
std::unique_ptr<ThrottlingURLLoader> url_loader =
ThrottlingURLLoader::CreateLoaderAndStart(
url_loader_factory, std::move(throttles), routing_id, request_id,
- mojom::kURLLoadOptionNone, std::move(request), client.get());
+ mojom::kURLLoadOptionNone, std::move(request), client.get(),
+ net::MutableNetworkTrafficAnnotationTag(NO_TRAFFIC_ANNOTATION_YET));
pending_requests_[request_id]->url_loader = std::move(url_loader);
pending_requests_[request_id]->url_loader_client = std::move(client);
} else {

Powered by Google App Engine
This is Rietveld 408576698