diff options
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r-- | net/disk_cache/backend_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h index 61639e6..242c0c5 100644 --- a/net/disk_cache/backend_impl.h +++ b/net/disk_cache/backend_impl.h @@ -23,7 +23,8 @@ enum BackendFlags { 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 @@ class BackendImpl : public Backend { // 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(); |