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

Unified Diff: google_apis/drive/request_sender_unittest.cc

Issue 2728323002: Network traffic annotation added to drive/base_requests. (Closed)
Patch Set: Annoatation udpated. Created 3 years, 9 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 | « google_apis/drive/request_sender.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/request_sender_unittest.cc
diff --git a/google_apis/drive/request_sender_unittest.cc b/google_apis/drive/request_sender_unittest.cc
index 978390082969b72f18e3f4282706875c79b0fc81..6e32eb0ee76df07e12842632fb7a4dea880a8304 100644
--- a/google_apis/drive/request_sender_unittest.cc
+++ b/google_apis/drive/request_sender_unittest.cc
@@ -9,6 +9,7 @@
#include "base/strings/string_number_conversions.h"
#include "google_apis/drive/base_requests.h"
#include "google_apis/drive/dummy_auth_service.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace google_apis {
@@ -58,8 +59,12 @@ class TestAuthService : public DummyAuthService {
class RequestSenderTest : public testing::Test {
protected:
RequestSenderTest()
- : auth_service_(new TestAuthService),
- request_sender_(auth_service_, NULL, NULL, "dummy-user-agent") {
+ : auth_service_(new TestAuthService),
+ request_sender_(auth_service_,
+ NULL,
+ NULL,
+ "dummy-user-agent",
+ TRAFFIC_ANNOTATION_FOR_TESTS) {
auth_service_->set_refresh_token(kTestRefreshToken);
auth_service_->set_access_token(kTestAccessToken);
}
« no previous file with comments | « google_apis/drive/request_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698