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

Side by Side Diff: net/disk_cache/simple/simple_entry_format_history.h

Issue 1160203003: net: Remove the remaining use of GG_(U)INTn_C macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stdint.h Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « net/disk_cache/simple/simple_entry_format.h ('k') | net/disk_cache/simple/simple_index_file.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
7 7
8 #include <stdint.h>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/port.h"
10 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
11 12
12 namespace disk_cache { 13 namespace disk_cache {
13 14
14 namespace simplecache_v5 { 15 namespace simplecache_v5 {
15 16
16 const uint64 kSimpleInitialMagicNumber = GG_UINT64_C(0xfcfb6d1ba7725c30); 17 const uint64 kSimpleInitialMagicNumber = UINT64_C(0xfcfb6d1ba7725c30);
17 const uint64 kSimpleFinalMagicNumber = GG_UINT64_C(0xf4fa6f45970d41d8); 18 const uint64 kSimpleFinalMagicNumber = UINT64_C(0xf4fa6f45970d41d8);
18 19
19 // A file containing stream 0 and stream 1 in the Simple cache consists of: 20 // A file containing stream 0 and stream 1 in the Simple cache consists of:
20 // - a SimpleFileHeader. 21 // - a SimpleFileHeader.
21 // - the key. 22 // - the key.
22 // - the data from stream 1. 23 // - the data from stream 1.
23 // - a SimpleFileEOF record for stream 1. 24 // - a SimpleFileEOF record for stream 1.
24 // - the data from stream 0. 25 // - the data from stream 0.
25 // - a SimpleFileEOF record for stream 0. 26 // - a SimpleFileEOF record for stream 0.
26 27
27 // A file containing stream 2 in the Simple cache consists of: 28 // A file containing stream 2 in the Simple cache consists of:
(...skipping 25 matching lines...) Expand all
53 uint32 data_crc32; 54 uint32 data_crc32;
54 // |stream_size| is only used in the EOF record for stream 0. 55 // |stream_size| is only used in the EOF record for stream 0.
55 uint32 stream_size; 56 uint32 stream_size;
56 }; 57 };
57 58
58 } // namespace simplecache_v5 59 } // namespace simplecache_v5
59 60
60 } // namespace disk_cache 61 } // namespace disk_cache
61 62
62 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_ 63 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_FORMAT_HISTORY_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_entry_format.h ('k') | net/disk_cache/simple/simple_index_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698