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

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

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios breakage Created 6 years, 9 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
« no previous file with comments | « net/disk_cache/blockfile/backend_worker_v3.cc ('k') | net/disk_cache/blockfile/bitmap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BITMAP_H_ 5 #ifndef NET_DISK_CACHE_BLOCKFILE_BITMAP_H_
6 #define NET_DISK_CACHE_BITMAP_H_ 6 #define NET_DISK_CACHE_BLOCKFILE_BITMAP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
11 namespace disk_cache { 11 namespace disk_cache {
12 12
13 // This class provides support for simple maps of bits. 13 // This class provides support for simple maps of bits.
14 class NET_EXPORT_PRIVATE Bitmap { 14 class NET_EXPORT_PRIVATE Bitmap {
15 public: 15 public:
16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} 16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {}
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 uint32* map_; // The bitmap. 126 uint32* map_; // The bitmap.
127 int num_bits_; // The upper bound of the bitmap. 127 int num_bits_; // The upper bound of the bitmap.
128 int array_size_; // The physical size (in uint32s) of the bitmap. 128 int array_size_; // The physical size (in uint32s) of the bitmap.
129 bool alloc_; // Whether or not we allocated the memory. 129 bool alloc_; // Whether or not we allocated the memory.
130 130
131 DISALLOW_COPY_AND_ASSIGN(Bitmap); 131 DISALLOW_COPY_AND_ASSIGN(Bitmap);
132 }; 132 };
133 133
134 } // namespace disk_cache 134 } // namespace disk_cache
135 135
136 #endif // NET_DISK_CACHE_BITMAP_H_ 136 #endif // NET_DISK_CACHE_BLOCKFILE_BITMAP_H_
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/backend_worker_v3.cc ('k') | net/disk_cache/blockfile/bitmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698