OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // See net/disk_cache/disk_cache.h for the public interface of the cache. | 5 // See net/disk_cache/disk_cache.h for the public interface of the cache. |
6 | 6 |
7 #ifndef NET_DISK_CACHE_FILE_H_ | 7 #ifndef NET_DISK_CACHE_V2_FILE_H_ |
8 #define NET_DISK_CACHE_FILE_H_ | 8 #define NET_DISK_CACHE_V2_FILE_H_ |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class FilePath; | 15 class FilePath; |
16 } | 16 } |
17 | 17 |
18 namespace disk_cache { | 18 namespace disk_cache { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool init_; | 90 bool init_; |
91 bool mixed_; | 91 bool mixed_; |
92 base::PlatformFile platform_file_; // Regular, asynchronous IO handle. | 92 base::PlatformFile platform_file_; // Regular, asynchronous IO handle. |
93 base::PlatformFile sync_platform_file_; // Synchronous IO handle. | 93 base::PlatformFile sync_platform_file_; // Synchronous IO handle. |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(File); | 95 DISALLOW_COPY_AND_ASSIGN(File); |
96 }; | 96 }; |
97 | 97 |
98 } // namespace disk_cache | 98 } // namespace disk_cache |
99 | 99 |
100 #endif // NET_DISK_CACHE_FILE_H_ | 100 #endif // NET_DISK_CACHE_V2_FILE_H_ |
OLD | NEW |