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

Unified Diff: net/disk_cache/backend_impl.h

Issue 160485: Disk cache: Open the disk cache experiment for new users.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.h
===================================================================
--- net/disk_cache/backend_impl.h (revision 22075)
+++ net/disk_cache/backend_impl.h (working copy)
@@ -23,7 +23,8 @@
kMaxSize = 1 << 1,
kUnitTestMode = 1 << 2,
kUpgradeMode = 1 << 3,
- kNewEviction = 1 << 4
+ kNewEviction = 1 << 4,
+ kNoRandom = 1 << 5
};
// This class implements the Backend interface. An object of this
@@ -170,6 +171,9 @@
// Sets the eviction algorithm to version 2.
void SetNewEviction();
+ // Sets an explicit set of BackendFlags.
+ void SetFlags(uint32 flags);
+
// Clears the counter of references to test handling of corruptions.
void ClearRefCountForTest();
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698