Index: components/drive/service/drive_api_service_unittest.cc |
diff --git a/components/drive/service/drive_api_service_unittest.cc b/components/drive/service/drive_api_service_unittest.cc |
index a3496715a103713c4e49394f903ae4afba50cb9d..70143b406a825a134173b392e6fdeb1e276ce8f0 100644 |
--- a/components/drive/service/drive_api_service_unittest.cc |
+++ b/components/drive/service/drive_api_service_unittest.cc |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "components/drive/service/drive_api_service.h" |
#include "base/memory/ptr_util.h" |
#include "base/message_loop/message_loop.h" |
#include "base/test/test_simple_task_runner.h" |
-#include "components/drive/service/drive_api_service.h" |
#include "google_apis/drive/dummy_auth_service.h" |
#include "google_apis/drive/request_sender.h" |
#include "google_apis/drive/test_util.h" |
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h" |
#include "net/url_request/url_request_test_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -43,9 +44,9 @@ TEST(DriveAPIServiceTest, BatchRequestConfiguratorWithAuthFailure) { |
new base::TestSimpleTaskRunner(); |
scoped_refptr<net::TestURLRequestContextGetter> request_context_getter = |
new net::TestURLRequestContextGetter(task_runner.get()); |
- google_apis::RequestSender sender(new TestAuthService, |
- request_context_getter.get(), |
- task_runner.get(), kTestUserAgent); |
+ google_apis::RequestSender sender( |
+ new TestAuthService, request_context_getter.get(), task_runner.get(), |
+ kTestUserAgent, TRAFFIC_ANNOTATION_FOR_TESTS); |
std::unique_ptr<google_apis::drive::BatchUploadRequest> request = |
base::MakeUnique<google_apis::drive::BatchUploadRequest>(&sender, |
url_generator); |