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

Unified Diff: ios/net/cookies/cookie_store_ios_unittest.mm

Issue 2349823003: Pass a RemovalCause to CookieChangedCallback (Closed)
Patch Set: rebase Created 4 years, 3 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 | « ios/net/cookies/cookie_store_ios.mm ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_store_ios_unittest.mm
diff --git a/ios/net/cookies/cookie_store_ios_unittest.mm b/ios/net/cookies/cookie_store_ios_unittest.mm
index fa05e77fbd3e8b85ce91f5f4cc0bbf62cb127e4c..bb516a58ccaf1d651269a3f12a149daee67059ec 100644
--- a/ios/net/cookies/cookie_store_ios_unittest.mm
+++ b/ios/net/cookies/cookie_store_ios_unittest.mm
@@ -349,11 +349,11 @@ namespace {
void RecordCookieChanges(std::vector<net::CanonicalCookie>* out_cookies,
std::vector<bool>* out_removes,
const net::CanonicalCookie& cookie,
- bool removed) {
+ net::CookieStore::ChangeCause cause) {
DCHECK(out_cookies);
out_cookies->push_back(cookie);
if (out_removes)
- out_removes->push_back(removed);
+ out_removes->push_back(net::CookieStore::ChangeCauseIsDeletion(cause));
}
void IgnoreBoolean(bool ignored) {
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698