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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)
Patch Set: Rebased. Created 3 years, 7 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 218efb1a8ee0de7362e2b285918184a0a47c14d6..b0edb2bbf557adb5026afa28e37f0df727a70904 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