| OLD | NEW |
| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/containers/hash_tables.h" |
| 11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 13 #include "base/hash_tables.h" | |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/pickle.h" | 16 #include "base/pickle.h" |
| 17 #include "base/port.h" | 17 #include "base/port.h" |
| 18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
| 19 #include "net/disk_cache/simple/simple_index.h" | 19 #include "net/disk_cache/simple/simple_index.h" |
| 20 | 20 |
| 21 namespace disk_cache { | 21 namespace disk_cache { |
| 22 | 22 |
| 23 const uint64 kSimpleIndexMagicNumber = GG_UINT64_C(0x656e74657220796f); | 23 const uint64 kSimpleIndexMagicNumber = GG_UINT64_C(0x656e74657220796f); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 scoped_refptr<base::SingleThreadTaskRunner> cache_thread_; | 121 scoped_refptr<base::SingleThreadTaskRunner> cache_thread_; |
| 122 const base::FilePath index_file_path_; | 122 const base::FilePath index_file_path_; |
| 123 | 123 |
| 124 DISALLOW_COPY_AND_ASSIGN(SimpleIndexFile); | 124 DISALLOW_COPY_AND_ASSIGN(SimpleIndexFile); |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 | 127 |
| 128 } // namespace disk_cache | 128 } // namespace disk_cache |
| 129 | 129 |
| 130 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_ | 130 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_FILE_H_ |
| OLD | NEW |