diff options
Diffstat (limited to 'net/cookies/cookie_store_unittest.h')
-rw-r--r-- | net/cookies/cookie_store_unittest.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/cookies/cookie_store_unittest.h b/net/cookies/cookie_store_unittest.h index 5f9dd33..51c389d 100644 --- a/net/cookies/cookie_store_unittest.h +++ b/net/cookies/cookie_store_unittest.h @@ -1095,15 +1095,8 @@ TYPED_TEST_P(MultiThreadedCookieStoreTest, ThreadCheckDeleteSessionCookies) { "A=B", options)); EXPECT_TRUE(this->SetCookieWithOptions(cs, this->url_google_, "B=C; expires=Mon, 18-Apr-22 22:50:13 GMT", options)); - -#if defined(ENABLE_PERSISTENT_SESSION_COOKIES) - EXPECT_EQ(0, this->DeleteSessionCookies(cs)); -#else EXPECT_EQ(1, this->DeleteSessionCookies(cs)); -#endif - EXPECT_EQ(0, this->DeleteSessionCookies(cs)); - EXPECT_TRUE(this->SetCookieWithOptions(cs, this->url_google_, "A=B", options)); DeleteCallback callback(&this->other_thread_); @@ -1113,12 +1106,7 @@ TYPED_TEST_P(MultiThreadedCookieStoreTest, ThreadCheckDeleteSessionCookies) { cs, &callback); this->RunOnOtherThread(task); EXPECT_TRUE(callback.did_run()); - -#if defined(ENABLE_PERSISTENT_SESSION_COOKIES) - EXPECT_EQ(0, callback.num_deleted()); -#else EXPECT_EQ(1, callback.num_deleted()); -#endif } REGISTER_TYPED_TEST_CASE_P(MultiThreadedCookieStoreTest, |