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

Unified Diff: net/cookies/cookie_monster_unittest.cc

Issue 2349823003: Pass a RemovalCause to CookieChangedCallback (Closed)
Patch Set: Merge enums 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
Index: net/cookies/cookie_monster_unittest.cc
diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc
index b8ea404d07a3cd152266da6a86283cb627b0250f..9a8be9438f55fa6282ae46a497445ca7bda69ef5 100644
--- a/net/cookies/cookie_monster_unittest.cc
+++ b/net/cookies/cookie_monster_unittest.cc
@@ -3364,11 +3364,11 @@ class CookieMonsterNotificationTest : public CookieMonsterTest {
void RecordCookieChanges(std::vector<CanonicalCookie>* out_cookies,
std::vector<bool>* out_removes,
const CanonicalCookie& cookie,
- bool removed) {
+ CookieStore::ChangeCause cause) {
DCHECK(out_cookies);
out_cookies->push_back(cookie);
if (out_removes)
- out_removes->push_back(removed);
+ out_removes->push_back(CookieStore::ChangeCauseIsDeletion(cause));
}
TEST_F(CookieMonsterNotificationTest, NoNotifyWithNoCookie) {

Powered by Google App Engine
This is Rietveld 408576698