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

Unified Diff: chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc

Issue 10407124: Don't force non-session only cookies to be session only cookies, instead delete on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/net/sqlite_persistent_cookie_store_perftest.cc
diff --git a/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc b/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
index 4d97b81e3cec5670eac65927f55a26c668ae5664..c67b34f8365e08e0312d672045340156e622dd35 100644
--- a/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
+++ b/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -49,7 +49,8 @@ class SQLitePersistentCookieStorePerfTest : public testing::Test {
io_thread_.Start();
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
store_ = new SQLitePersistentCookieStore(
- temp_dir_.path().Append(chrome::kCookieFilename));
+ temp_dir_.path().Append(chrome::kCookieFilename),
+ false, NULL);
std::vector<net::CookieMonster::CanonicalCookie*> cookies;
Load();
ASSERT_EQ(0u, cookies_.size());
@@ -64,7 +65,7 @@ class SQLitePersistentCookieStorePerfTest : public testing::Test {
net::CookieMonster::CanonicalCookie(gurl,
base::StringPrintf("Cookie_%d", cookie_num), "1",
domain_name, "/", std::string(), std::string(),
- t, t, t, false, false, true));
+ t, t, t, false, false, true, true));
}
}
// Replace the store effectively destroying the current one and forcing it
@@ -77,7 +78,7 @@ class SQLitePersistentCookieStorePerfTest : public testing::Test {
ASSERT_TRUE(helper->Run());
store_ = new SQLitePersistentCookieStore(
- temp_dir_.path().Append(chrome::kCookieFilename));
+ temp_dir_.path().Append(chrome::kCookieFilename), false, NULL);
}
protected:

Powered by Google App Engine
This is Rietveld 408576698