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

Unified Diff: remoting/protocol/http_ice_config_request_unittest.cc

Issue 2729423003: Network traffic annotation added to chromium_url_request. (Closed)
Patch Set: Annotation updated. 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
« no previous file with comments | « remoting/protocol/http_ice_config_request.cc ('k') | remoting/protocol/port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/http_ice_config_request_unittest.cc
diff --git a/remoting/protocol/http_ice_config_request_unittest.cc b/remoting/protocol/http_ice_config_request_unittest.cc
index 821be6a07ba2fd30bbde2deb655a770ab22979d3..36d624011af9c80f1c8f8f2e3cdbdf963c4de2de 100644
--- a/remoting/protocol/http_ice_config_request_unittest.cc
+++ b/remoting/protocol/http_ice_config_request_unittest.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "remoting/base/url_request.h"
#include "remoting/protocol/ice_config.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -50,7 +51,8 @@ class FakeUrlRequestFactory : public UrlRequestFactory {
// UrlRequestFactory interface.
std::unique_ptr<UrlRequest> CreateUrlRequest(
UrlRequest::Type type,
- const std::string& url) override {
+ const std::string& url,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) override {
EXPECT_EQ(UrlRequest::Type::POST, type);
CHECK(results_.count(url));
return base::MakeUnique<FakeUrlRequest>(results_[url]);
« no previous file with comments | « remoting/protocol/http_ice_config_request.cc ('k') | remoting/protocol/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698