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

Unified Diff: net/test/embedded_test_server/embedded_test_server_unittest.cc

Issue 2833983002: Test network annotation tags added to unittests in net/. (Closed)
Patch Set: One file moved. Created 3 years, 8 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 | « net/spdy/chromium/spdy_network_transaction_unittest.cc ('k') | net/websockets/websocket_end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/embedded_test_server_unittest.cc
diff --git a/net/test/embedded_test_server/embedded_test_server_unittest.cc b/net/test/embedded_test_server/embedded_test_server_unittest.cc
index 0794a78352c117af17f89754130687f0cee4e22c..fc647723170cca0fa57af9b851ed5b31f464ff86 100644
--- a/net/test/embedded_test_server/embedded_test_server_unittest.cc
+++ b/net/test/embedded_test_server/embedded_test_server_unittest.cc
@@ -458,8 +458,9 @@ TEST_P(EmbeddedTestServerTest, CloseDuringWrite) {
&HandlePrefixedRequest, "/infinite", base::Bind(&HandleInfiniteRequest)));
ASSERT_TRUE(server_->Start());
- std::unique_ptr<URLRequest> request = context.CreateRequest(
- server_->GetURL("/infinite"), DEFAULT_PRIORITY, &cancel_delegate);
+ std::unique_ptr<URLRequest> request =
+ context.CreateRequest(server_->GetURL("/infinite"), DEFAULT_PRIORITY,
+ &cancel_delegate, TRAFFIC_ANNOTATION_FOR_TESTS);
request->Start();
cancel_delegate.WaitUntilDone();
}
« no previous file with comments | « net/spdy/chromium/spdy_network_transaction_unittest.cc ('k') | net/websockets/websocket_end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698