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

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

Issue 1008723006: Remove HTTP cache Record/Playback support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « chrome/browser/net/cookie_store_util.h ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/cookie_store_util.cc
diff --git a/chrome/browser/net/cookie_store_util.cc b/chrome/browser/net/cookie_store_util.cc
index 1fe36c749f61155d651136aabd5fc10a37a46933..27aefb2f0f34a5212921c2c4f56573c7ac83145d 100644
--- a/chrome/browser/net/cookie_store_util.cc
+++ b/chrome/browser/net/cookie_store_util.cc
@@ -80,22 +80,6 @@ class ChromeCookieMonsterDelegate : public net::CookieMonsterDelegate {
namespace chrome_browser_net {
-bool IsCookieRecordMode() {
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
- // Only allow Record Mode if we are in a Debug build or where we are running
- // a cycle, and the user has limited control.
- return command_line.HasSwitch(switches::kRecordMode) &&
- chrome::kRecordModeEnabled;
-}
-
-bool ShouldUseInMemoryCookiesAndCache() {
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
- return IsCookieRecordMode() ||
- command_line.HasSwitch(switches::kPlaybackMode);
-}
-
net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile) {
return new EvictedDomainCookieCounter(
new ChromeCookieMonsterDelegate(profile));
« no previous file with comments | « chrome/browser/net/cookie_store_util.h ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698