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

Unified Diff: chrome/browser/extensions/api/cookies/cookies_unittest.cc

Issue 10694093: Remove the force_session cookie option, as it's not used anymore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 5 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: chrome/browser/extensions/api/cookies/cookies_unittest.cc
diff --git a/chrome/browser/extensions/api/cookies/cookies_unittest.cc b/chrome/browser/extensions/api/cookies/cookies_unittest.cc
index 05cf211d31da1a027b626f9474109289f76aa3d2..91c80f7ceafe529446a746fbb37b2c1516604219 100644
--- a/chrome/browser/extensions/api/cookies/cookies_unittest.cc
+++ b/chrome/browser/extensions/api/cookies/cookies_unittest.cc
@@ -113,7 +113,7 @@ TEST_F(ExtensionCookiesTest, ExtensionTypeCreation) {
GURL(), "ABC", "DEF", "www.foobar.com", "/",
std::string(), std::string(),
base::Time(), base::Time(), base::Time(),
- false, false, false, false);
+ false, false);
scoped_ptr<DictionaryValue> cookie_value1(
cookies_helpers::CreateCookieValue(
cookie1, "some cookie store"));
@@ -141,7 +141,7 @@ TEST_F(ExtensionCookiesTest, ExtensionTypeCreation) {
net::CookieMonster::CanonicalCookie cookie2(
GURL(), "ABC", "DEF", ".foobar.com", "/", std::string(), std::string(),
base::Time(), base::Time::FromDoubleT(10000), base::Time(),
- false, false, true, true);
+ false, false);
scoped_ptr<DictionaryValue> cookie_value2(
cookies_helpers::CreateCookieValue(
cookie2, "some cookie store"));
@@ -168,7 +168,7 @@ TEST_F(ExtensionCookiesTest, GetURLFromCanonicalCookie) {
GURL(), "ABC", "DEF", "www.foobar.com", "/",
std::string(), std::string(),
base::Time(), base::Time(), base::Time(),
- false, false, false, false);
+ false, false);
EXPECT_EQ("http://www.foobar.com/",
cookies_helpers::GetURLFromCanonicalCookie(
cookie1).spec());
@@ -177,7 +177,7 @@ TEST_F(ExtensionCookiesTest, GetURLFromCanonicalCookie) {
GURL(), "ABC", "DEF", ".helloworld.com", "/",
std::string(), std::string(),
base::Time(), base::Time(), base::Time(),
- true, false, false, false);
+ true, false);
EXPECT_EQ("https://helloworld.com/",
cookies_helpers::GetURLFromCanonicalCookie(
cookie2).spec());
@@ -210,7 +210,7 @@ TEST_F(ExtensionCookiesTest, DomainMatching) {
net::CookieMonster::CanonicalCookie cookie(GURL(), "", "", tests[i].domain,
"", "", "", base::Time(),
base::Time(), base::Time(),
- false, false, false, false);
+ false, false);
EXPECT_EQ(tests[i].matches, filter.MatchesCookie(cookie));
}
}
@@ -221,7 +221,7 @@ TEST_F(ExtensionCookiesTest, DecodeUTF8WithErrorHandling) {
"test.com",
"/path\203", "", "", base::Time(),
base::Time(), base::Time(),
- false, false, false, false);
+ false, false);
scoped_ptr<DictionaryValue> cookie_value(
cookies_helpers::CreateCookieValue(
cookie, "some cookie store"));
« no previous file with comments | « chrome/browser/extensions/api/cookies/cookies_helpers.cc ('k') | chrome/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698