Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
index 5454acdad6b774dee2b438d7c114ca288aef63bd..ce4781333ebed415aedade4ece223b83bc7b3a84 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
@@ -72,6 +72,7 @@ |
#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/test_utils.h" |
#include "net/test/spawned_test_server/spawned_test_server.h" |
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h" |
#include "net/url_request/test_url_fetcher_factory.h" |
#include "net/url_request/url_fetcher_impl.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -365,7 +366,8 @@ class WizardControllerTestURLFetcherFactory |
int id, |
const GURL& url, |
net::URLFetcher::RequestType request_type, |
- net::URLFetcherDelegate* d) override { |
+ net::URLFetcherDelegate* d, |
+ net::NetworkTrafficAnnotationTag traffic_annotation) override { |
if (base::StartsWith( |
url.spec(), |
SimpleGeolocationProvider::DefaultGeolocationProviderURL().spec(), |
@@ -381,8 +383,8 @@ class WizardControllerTestURLFetcherFactory |
url, d, std::string(kTimezoneResponseBody), net::HTTP_OK, |
net::URLRequestStatus::SUCCESS)); |
} |
- return net::TestURLFetcherFactory::CreateURLFetcher( |
- id, url, request_type, d); |
+ return net::TestURLFetcherFactory::CreateURLFetcher(id, url, request_type, |
+ d, traffic_annotation); |
} |
~WizardControllerTestURLFetcherFactory() override {} |
}; |