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

Unified Diff: net/filter/sdch_policy_delegate_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/base/layered_network_delegate_unittest.cc ('k') | net/log/net_log_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_policy_delegate_unittest.cc
diff --git a/net/filter/sdch_policy_delegate_unittest.cc b/net/filter/sdch_policy_delegate_unittest.cc
index ecf8dd9cc165f28aef5bf4c1e8ca8383385966e6..d9596e1284fa50c2363ce134fdd2a69c51463f73 100644
--- a/net/filter/sdch_policy_delegate_unittest.cc
+++ b/net/filter/sdch_policy_delegate_unittest.cc
@@ -10,6 +10,7 @@
#include "base/memory/ptr_util.h"
#include "net/base/sdch_manager.h"
#include "net/base/sdch_observer.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_request_http_job.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -93,7 +94,8 @@ class SdchPolicyDelegateTest : public testing::Test {
is_cached_content_(false),
response_code_(200) {
req_ = context_.CreateRequest(GURL("http://www.example.com"),
- DEFAULT_PRIORITY, &request_delegate_);
+ DEFAULT_PRIORITY, &request_delegate_,
+ TRAFFIC_ANNOTATION_FOR_TESTS);
job_.reset(new TestURLRequestHttpJob(req_.get()));
}
« no previous file with comments | « net/base/layered_network_delegate_unittest.cc ('k') | net/log/net_log_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698