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

Unified Diff: content/network/url_loader_unittest.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/network/url_loader_unittest.cc
diff --git a/content/network/url_loader_unittest.cc b/content/network/url_loader_unittest.cc
index 69af3fd82592f1bd4aaad698fa1c5ec380acdc00..9620035c2152e044d4408961c25c05aa474c9ea8 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 {
@@ -78,7 +79,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();
}

Powered by Google App Engine
This is Rietveld 408576698