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

Unified Diff: content/network/url_loader_unittest.cc

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)
Patch Set: Comment addressed, Merged. 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
« no previous file with comments | « content/network/url_loader_impl.cc ('k') | net/traffic_annotation/network_traffic_annotation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/network/url_loader_unittest.cc
diff --git a/content/network/url_loader_unittest.cc b/content/network/url_loader_unittest.cc
index e79180824932a11fb1bef3a53972768918f8b10a..b2021eb0e58547c50756b8f3732f031417fc469c 100644
--- a/content/network/url_loader_unittest.cc
+++ b/content/network/url_loader_unittest.cc
@@ -14,6 +14,7 @@
#include "mojo/public/c/system/data_pipe.h"
#include "mojo/public/cpp/system/wait.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -83,7 +84,8 @@ class URLLoaderImplTest : public testing::Test {
CreateResourceRequest("GET", RESOURCE_TYPE_MAIN_FRAME, url);
URLLoaderImpl loader_impl(context(), mojo::MakeIsolatedRequest(&loader),
- options, request, client->CreateInterfacePtr());
+ options, request, client->CreateInterfacePtr(),
+ TRAFFIC_ANNOTATION_FOR_TESTS);
client->RunUntilComplete();
}
« no previous file with comments | « content/network/url_loader_impl.cc ('k') | net/traffic_annotation/network_traffic_annotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698