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

Unified Diff: chrome/browser/chromeos/login/wizard_controller_browsertest.cc

Issue 2890293005: Network traffic annotation stored in url_request. (Closed)
Patch Set: 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 | « no previous file | chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {}
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698