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

Unified Diff: components/policy/core/common/cloud/policy_header_service_unittest.cc

Issue 1003953008: Remove prerender cookie store, part 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-revert-cookie-store-3
Patch Set: rebase (just in case since this is so huge) Created 5 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
Index: components/policy/core/common/cloud/policy_header_service_unittest.cc
diff --git a/components/policy/core/common/cloud/policy_header_service_unittest.cc b/components/policy/core/common/cloud/policy_header_service_unittest.cc
index 2903ec40268d5f68dd5d9bb2b9767d56cd9f8cf3..7d5c752ce0d4167b5bfa54db56cd640552739478 100644
--- a/components/policy/core/common/cloud/policy_header_service_unittest.cc
+++ b/components/policy/core/common/cloud/policy_header_service_unittest.cc
@@ -109,7 +109,7 @@ TEST_F(PolicyHeaderServiceTest, TestWithAndWithoutPolicyHeader) {
net::TestURLRequestContext context;
scoped_ptr<net::URLRequest> request(context.CreateRequest(
- GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, NULL));
+ GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL));
helper_->AddPolicyHeaders(request->url(), request.get());
ValidateHeader(request->extra_request_headers(), expected_dmtoken,
expected_policy_token);
@@ -119,7 +119,7 @@ TEST_F(PolicyHeaderServiceTest, TestWithAndWithoutPolicyHeader) {
task_runner_->RunUntilIdle();
scoped_ptr<net::URLRequest> request2(context.CreateRequest(
- GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL, NULL));
+ GURL(kDMServerURL), net::DEFAULT_PRIORITY, NULL));
helper_->AddPolicyHeaders(request2->url(), request2.get());
ValidateHeader(request2->extra_request_headers(), "", "");
}

Powered by Google App Engine
This is Rietveld 408576698