| Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| index be8d4458ca66887024135432b45ec968170ed342..618ec4e6317ba24d212ee608892e29d4f174bee0 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| @@ -28,6 +28,7 @@
|
| #include "content/public/test/test_browser_thread.h"
|
| #include "content/public/test/test_renderer_host.h"
|
| #include "net/base/request_priority.h"
|
| +#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
|
| #include "net/url_request/url_request.h"
|
| #include "net/url_request/url_request_context.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -41,8 +42,8 @@ void AssertInterceptedIO(
|
| net::URLRequestJobFactory* interceptor) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| net::URLRequestContext context;
|
| - std::unique_ptr<net::URLRequest> request(
|
| - context.CreateRequest(url, net::DEFAULT_PRIORITY, nullptr));
|
| + std::unique_ptr<net::URLRequest> request(context.CreateRequest(
|
| + url, net::DEFAULT_PRIORITY, nullptr, TRAFFIC_ANNOTATION_FOR_TESTS));
|
| std::unique_ptr<net::URLRequestJob> job(
|
| interceptor->MaybeCreateJobWithProtocolHandler(
|
| url.scheme(), request.get(), context.network_delegate()));
|
|
|