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

Unified Diff: ios/net/cookies/cookie_cache_unittest.cc

Issue 2874843002: Shifted creation of unvalidated CanonicalCookies over to a constructor. (Closed)
Patch Set: Merged to top of dependent CL. 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 | « headless/public/util/generic_url_request_job_test.cc ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_cache_unittest.cc
diff --git a/ios/net/cookies/cookie_cache_unittest.cc b/ios/net/cookies/cookie_cache_unittest.cc
index f875004cf7707eec773aa677d29fae390adfb156..e1a8533a37a94af39389628b02eab302c3fb9e24 100644
--- a/ios/net/cookies/cookie_cache_unittest.cc
+++ b/ios/net/cookies/cookie_cache_unittest.cc
@@ -17,10 +17,10 @@ namespace {
CanonicalCookie MakeCookie(const GURL& url,
const std::string& name,
const std::string& value) {
- return *CanonicalCookie::Create(
- name, value, url.host(), url.path(), base::Time(), base::Time(),
- base::Time(), false, false, net::CookieSameSite::DEFAULT_MODE,
- net::COOKIE_PRIORITY_DEFAULT);
+ return CanonicalCookie(name, value, url.host(), url.path(), base::Time(),
+ base::Time(), base::Time(), false, false,
+ net::CookieSameSite::DEFAULT_MODE,
+ net::COOKIE_PRIORITY_DEFAULT);
}
} // namespace
« no previous file with comments | « headless/public/util/generic_url_request_job_test.cc ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698