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

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

Issue 14113014: Adding Priority field to cookies. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Created 7 years, 8 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: content/browser/net/sqlite_persistent_cookie_store_perftest.cc
diff --git a/content/browser/net/sqlite_persistent_cookie_store_perftest.cc b/content/browser/net/sqlite_persistent_cookie_store_perftest.cc
index d0d711eb5972b986cb29126d2347800f0c05c546..a2f984b9e5e0d1137b9de4b27bd8943818569c25 100644
--- a/content/browser/net/sqlite_persistent_cookie_store_perftest.cc
+++ b/content/browser/net/sqlite_persistent_cookie_store_perftest.cc
@@ -15,6 +15,7 @@
#include "base/threading/sequenced_worker_pool.h"
#include "googleurl/src/gurl.h"
#include "net/cookies/canonical_cookie.h"
+#include "net/cookies/cookie_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -79,7 +80,8 @@ class SQLitePersistentCookieStorePerfTest : public testing::Test {
store_->AddCookie(
net::CanonicalCookie(gurl,
base::StringPrintf("Cookie_%d", cookie_num), "1",
- domain_name, "/", t, t, t, false, false));
+ domain_name, "/", t, t, t, false, false,
+ net::PRIORITY_DEFAULT));
}
}
// Replace the store effectively destroying the current one and forcing it

Powered by Google App Engine
This is Rietveld 408576698