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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
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 #ifndef NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ 5 #ifndef NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_
6 #define NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ 6 #define NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "net/disk_cache/blockfile/disk_format.h" 14 #include "net/disk_cache/blockfile/disk_format.h"
14 #include "net/disk_cache/blockfile/storage_block-inl.h" 15 #include "net/disk_cache/blockfile/storage_block-inl.h"
15 #include "net/disk_cache/blockfile/storage_block.h" 16 #include "net/disk_cache/blockfile/storage_block.h"
16 #include "net/disk_cache/disk_cache.h" 17 #include "net/disk_cache/disk_cache.h"
17 #include "net/log/net_log.h" 18 #include "net/log/net_log_with_source.h"
19
20 namespace net {
21 class NetLog;
22 }
18 23
19 namespace disk_cache { 24 namespace disk_cache {
20 25
21 class BackendImpl; 26 class BackendImpl;
22 class InFlightBackendIO; 27 class InFlightBackendIO;
23 class SparseControl; 28 class SparseControl;
24 typedef StorageBlock<EntryStore> CacheEntryBlock; 29 typedef StorageBlock<EntryStore> CacheEntryBlock;
25 typedef StorageBlock<RankingsNode> CacheRankingsBlock; 30 typedef StorageBlock<RankingsNode> CacheRankingsBlock;
26 31
27 // This class implements the Entry interface. An object of this 32 // This class implements the Entry interface. An object of this
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 std::unique_ptr<SparseControl> sparse_; // Support for sparse entries. 294 std::unique_ptr<SparseControl> sparse_; // Support for sparse entries.
290 295
291 net::NetLogWithSource net_log_; 296 net::NetLogWithSource net_log_;
292 297
293 DISALLOW_COPY_AND_ASSIGN(EntryImpl); 298 DISALLOW_COPY_AND_ASSIGN(EntryImpl);
294 }; 299 };
295 300
296 } // namespace disk_cache 301 } // namespace disk_cache
297 302
298 #endif // NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ 303 #endif // NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698