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

Unified Diff: net/disk_cache/flash/format.h

Issue 182093002: Remove the flash specific disk cache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « net/disk_cache/flash/flash_entry_impl.cc ('k') | net/disk_cache/flash/internal_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/flash/format.h
diff --git a/net/disk_cache/flash/format.h b/net/disk_cache/flash/format.h
deleted file mode 100644
index 872d96b34a2da3e5d76317931bf289ff7324e61e..0000000000000000000000000000000000000000
--- a/net/disk_cache/flash/format.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_DISK_CACHE_FLASH_FORMAT_H_
-#define NET_DISK_CACHE_FLASH_FORMAT_H_
-
-namespace disk_cache {
-
-// Storage constants.
-const int32 kFlashPageSize = 8 * 1024;
-const int32 kFlashBlockSize = 512 * kFlashPageSize;
-
-// Segment constants.
-const int32 kFlashSegmentSize = 4 * 1024 * 1024;
-const int32 kFlashSmallEntrySize = 4 * 1024;
-const size_t kFlashMaxEntryCount = kFlashSegmentSize / kFlashSmallEntrySize - 1;
-
-// Segment summary consists of a fixed region at the end of the segment
-// containing a counter specifying the number of saved offsets followed by the
-// offsets.
-const int32 kFlashSummarySize = (1 + kFlashMaxEntryCount) * sizeof(int32);
-const int32 kFlashSegmentFreeSpace = kFlashSegmentSize - kFlashSummarySize;
-
-// An entry consists of a fixed number of streams.
-const int32 kFlashLogStoreEntryNumStreams = 4;
-const int32 kFlashLogStoreEntryHeaderSize =
- kFlashLogStoreEntryNumStreams * sizeof(int32);
-
-} // namespace disk_cache
-
-#endif // NET_DISK_CACHE_FLASH_FORMAT_H_
« no previous file with comments | « net/disk_cache/flash/flash_entry_impl.cc ('k') | net/disk_cache/flash/internal_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698