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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)
Patch Set: Mutable network traffic annotation added. 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 bf1ab7532d6d22da7236c4de7f4434785fb52956..fdb6b233b369d1fa1e4944c5a6387c14a1c5db1c 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -664,7 +664,8 @@ int ResourceDispatcher::StartAsync(
client->Bind(&client_ptr);
url_loader_factory->CreateLoaderAndStart(
MakeRequest(&url_loader), routing_id, request_id,
- mojom::kURLLoadOptionNone, *request, std::move(client_ptr));
+ mojom::kURLLoadOptionNone, *request, std::move(client_ptr),
+ 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