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

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

Issue 54303010: Promote the priority aware cookie eviction algorithm from experimental status. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo. Created 7 years, 1 month 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
« no previous file with comments | « no previous file | net/cookies/cookie_monster.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/net/sqlite_persistent_cookie_store.cc
diff --git a/content/browser/net/sqlite_persistent_cookie_store.cc b/content/browser/net/sqlite_persistent_cookie_store.cc
index 517a8c18a1646d10af600c125a9e1b00d754d606..d3af556f8aa456ee0b345eb96287b8838c11ba73 100644
--- a/content/browser/net/sqlite_persistent_cookie_store.cc
+++ b/content/browser/net/sqlite_persistent_cookie_store.cc
@@ -18,7 +18,6 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#include "base/sequenced_task_runner.h"
#include "base/strings/string_util.h"
@@ -1209,15 +1208,7 @@ net::CookieStore* CreatePersistentCookieStore(
BrowserThread::GetBlockingPool()->GetSequenceToken()),
restore_old_session_cookies,
storage_policy);
- net::CookieMonster* cookie_monster =
- new net::CookieMonster(persistent_store, cookie_monster_delegate);
-
- const std::string cookie_priority_experiment_group =
- base::FieldTrialList::FindFullName("CookieRetentionPriorityStudy");
- cookie_monster->SetPriorityAwareGarbageCollection(
- cookie_priority_experiment_group == "ExperimentOn");
-
- return cookie_monster;
+ return new net::CookieMonster(persistent_store, cookie_monster_delegate);
}
} // namespace content
« no previous file with comments | « no previous file | net/cookies/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698