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

Unified Diff: net/disk_cache/simple/simple_entry_format_history.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.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 | « net/disk_cache/simple/simple_entry_format.cc ('k') | net/disk_cache/simple/simple_entry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_entry_format_history.h
diff --git a/net/disk_cache/simple/simple_entry_format_history.h b/net/disk_cache/simple/simple_entry_format_history.h
deleted file mode 100644
index f7b818a59e9418121ee13d62208ec61232780c98..0000000000000000000000000000000000000000
--- a/net/disk_cache/simple/simple_entry_format_history.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2013 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_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
-#define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
-
-#include "base/basictypes.h"
-#include "base/port.h"
-#include "net/base/net_export.h"
-
-namespace disk_cache {
-
-namespace simplecache_v5 {
-
-const uint64 kSimpleInitialMagicNumber = GG_UINT64_C(0xfcfb6d1ba7725c30);
-const uint64 kSimpleFinalMagicNumber = GG_UINT64_C(0xf4fa6f45970d41d8);
-
-// A file containing stream 0 and stream 1 in the Simple cache consists of:
-// - a SimpleFileHeader.
-// - the key.
-// - the data from stream 1.
-// - a SimpleFileEOF record for stream 1.
-// - the data from stream 0.
-// - a SimpleFileEOF record for stream 0.
-
-// A file containing stream 2 in the Simple cache consists of:
-// - a SimpleFileHeader.
-// - the key.
-// - the data.
-// - at the end, a SimpleFileEOF record.
-static const int kSimpleEntryFileCount = 2;
-static const int kSimpleEntryStreamCount = 3;
-
-struct NET_EXPORT_PRIVATE SimpleFileHeader {
- SimpleFileHeader();
-
- uint64 initial_magic_number;
- uint32 version;
- uint32 key_length;
- uint32 key_hash;
-};
-
-struct NET_EXPORT_PRIVATE SimpleFileEOF {
- enum Flags {
- FLAG_HAS_CRC32 = (1U << 0),
- };
-
- SimpleFileEOF();
-
- uint64 final_magic_number;
- uint32 flags;
- uint32 data_crc32;
- // |stream_size| is only used in the EOF record for stream 0.
- uint32 stream_size;
-};
-
-} // namespace simplecache_v5
-
-} // namespace disk_cache
-
-#endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
« no previous file with comments | « net/disk_cache/simple/simple_entry_format.cc ('k') | net/disk_cache/simple/simple_entry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698