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

Side by Side Diff: net/disk_cache/simple/simple_index_file.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_INDEX_FILE_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_
7 7
8 #include <stdint.h>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/basictypes.h" 12 #include "base/basictypes.h"
12 #include "base/containers/hash_tables.h" 13 #include "base/containers/hash_tables.h"
13 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
14 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
15 #include "base/logging.h" 16 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
17 #include "base/pickle.h" 18 #include "base/pickle.h"
18 #include "base/port.h"
19 #include "net/base/cache_type.h" 19 #include "net/base/cache_type.h"
20 #include "net/base/net_export.h" 20 #include "net/base/net_export.h"
21 #include "net/disk_cache/simple/simple_index.h" 21 #include "net/disk_cache/simple/simple_index.h"
22 22
23 namespace base { 23 namespace base {
24 class SingleThreadTaskRunner; 24 class SingleThreadTaskRunner;
25 class TaskRunner; 25 class TaskRunner;
26 } 26 }
27 27
28 namespace disk_cache { 28 namespace disk_cache {
29 29
30 const uint64 kSimpleIndexMagicNumber = GG_UINT64_C(0x656e74657220796f); 30 const uint64 kSimpleIndexMagicNumber = UINT64_C(0x656e74657220796f);
31 31
32 struct NET_EXPORT_PRIVATE SimpleIndexLoadResult { 32 struct NET_EXPORT_PRIVATE SimpleIndexLoadResult {
33 SimpleIndexLoadResult(); 33 SimpleIndexLoadResult();
34 ~SimpleIndexLoadResult(); 34 ~SimpleIndexLoadResult();
35 void Reset(); 35 void Reset();
36 36
37 bool did_load; 37 bool did_load;
38 SimpleIndex::EntrySet entries; 38 SimpleIndex::EntrySet entries;
39 bool flush_required; 39 bool flush_required;
40 }; 40 };
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 static const char kIndexFileName[]; 183 static const char kIndexFileName[];
184 static const char kTempIndexFileName[]; 184 static const char kTempIndexFileName[];
185 185
186 DISALLOW_COPY_AND_ASSIGN(SimpleIndexFile); 186 DISALLOW_COPY_AND_ASSIGN(SimpleIndexFile);
187 }; 187 };
188 188
189 189
190 } // namespace disk_cache 190 } // namespace disk_cache
191 191
192 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_ 192 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_entry_format_history.h ('k') | net/disk_cache/simple/simple_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698