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_DISK_FORMAT_H_ | 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_DISK_FORMAT_H_ |
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_DISK_FORMAT_H_ | 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_DISK_FORMAT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 uint64 GetEntryHashKey(const std::string& key); | 119 uint64 GetEntryHashKey(const std::string& key); |
120 | 120 |
121 // Parses the |hash_key| string into a uint64 buffer. | 121 // Parses the |hash_key| string into a uint64 buffer. |
122 // |hash_key| string must be of the form: FFFFFFFFFFFFFFFF . | 122 // |hash_key| string must be of the form: FFFFFFFFFFFFFFFF . |
123 bool GetEntryHashKeyFromHexString(const std::string& hash_key, | 123 bool GetEntryHashKeyFromHexString(const std::string& hash_key, |
124 uint64* hash_key_out); | 124 uint64* hash_key_out); |
125 | 125 |
126 } // namespace disk_cache | 126 } // namespace disk_cache |
127 | 127 |
128 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_DISK_FORMAT_H_ | 128 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_DISK_FORMAT_H_ |
OLD | NEW |