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

Side by Side Diff: net/disk_cache/blockfile/block_bitmaps_v3.h

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to upstream Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
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. 5 // See net/disk_cache/disk_cache.h for the public interface.
6 6
7 #ifndef NET_DISK_CACHE_V3_BLOCK_BITMAPS_H_ 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_
rvargas (doing something else) 2014/02/11 03:21:28 no v3
8 #define NET_DISK_CACHE_V3_BLOCK_BITMAPS_H_ 8 #define NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/disk_cache/addr.h" 12 #include "net/disk_cache/blockfile/addr.h"
13 #include "net/disk_cache/block_files.h" 13 #include "net/disk_cache/blockfile/block_files.h"
14 14
15 namespace disk_cache { 15 namespace disk_cache {
16 16
17 class BackendImplV3; 17 class BackendImplV3;
18 18
19 // This class is the interface in the v3 disk cache to the set of files holding 19 // This class is the interface in the v3 disk cache to the set of files holding
20 // cached data that is small enough to not be efficiently stored in a dedicated 20 // cached data that is small enough to not be efficiently stored in a dedicated
21 // file (i.e. < kMaxBlockSize). It is primarily used to allocate and free 21 // file (i.e. < kMaxBlockSize). It is primarily used to allocate and free
22 // regions in those files used to store data. 22 // regions in those files used to store data.
23 class NET_EXPORT_PRIVATE BlockBitmaps { 23 class NET_EXPORT_PRIVATE BlockBitmaps {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Retrieves stats for the given file index. 55 // Retrieves stats for the given file index.
56 void GetFileStats(int index, int* used_count, int* load); 56 void GetFileStats(int index, int* used_count, int* load);
57 57
58 BlockFilesBitmaps bitmaps_; 58 BlockFilesBitmaps bitmaps_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(BlockBitmaps); 60 DISALLOW_COPY_AND_ASSIGN(BlockBitmaps);
61 }; 61 };
62 62
63 } // namespace disk_cache 63 } // namespace disk_cache
64 64
65 #endif // NET_DISK_CACHE_V3_BLOCK_BITMAPS_H_ 65 #endif // NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698