Index: net/cookies/cookie_store_unittest.h |
diff --git a/net/cookies/cookie_store_unittest.h b/net/cookies/cookie_store_unittest.h |
index 7198f5084a21240fa468c9751ee6ec0ae45401c7..141cce564c864bac0e0fac24c53ccbb2ea1a9fb7 100644 |
--- a/net/cookies/cookie_store_unittest.h |
+++ b/net/cookies/cookie_store_unittest.h |
@@ -1298,34 +1298,6 @@ |
EXPECT_EQ("D", it->Value()); |
ASSERT_TRUE(++it == cookies.end()); |
-} |
- |
-TYPED_TEST_P(CookieStoreTest, DeleteCookieAsync) { |
- scoped_refptr<CookieStore> cs(this->GetCookieStore()); |
- |
- EXPECT_TRUE( |
- this->SetCookie(cs.get(), this->http_www_google_.url(), "A=A1; path=/")); |
- EXPECT_TRUE(this->SetCookie(cs.get(), this->http_www_google_.url(), |
- "A=A2; path=/foo")); |
- EXPECT_TRUE(this->SetCookie(cs.get(), this->http_www_google_.url(), |
- "A=A3; path=/bar")); |
- EXPECT_TRUE( |
- this->SetCookie(cs.get(), this->http_www_google_.url(), "B=B1; path=/")); |
- EXPECT_TRUE(this->SetCookie(cs.get(), this->http_www_google_.url(), |
- "B=B2; path=/foo")); |
- EXPECT_TRUE(this->SetCookie(cs.get(), this->http_www_google_.url(), |
- "B=B3; path=/bar")); |
- |
- this->DeleteCookie(cs.get(), this->http_www_google_.AppendPath("foo/bar"), |
- "A"); |
- |
- CookieList cookies = this->GetAllCookies(cs.get()); |
- size_t expected_size = 4; |
- EXPECT_EQ(expected_size, cookies.size()); |
- for (const auto& cookie : cookies) { |
- EXPECT_NE("A1", cookie.Value()); |
- EXPECT_NE("A2", cookie.Value()); |
- } |
} |
TYPED_TEST_P(CookieStoreTest, DeleteCanonicalCookieAsync) { |
@@ -1422,7 +1394,6 @@ |
OverwritePersistentCookie, |
CookieOrdering, |
GetAllCookiesAsync, |
- DeleteCookieAsync, |
DeleteCanonicalCookieAsync, |
DeleteSessionCookie); |