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

Side by Side Diff: net/disk_cache/v2/eviction.h

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more include fixes 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 #ifndef NET_DISK_CACHE_EVICTION_H_ 5 #ifndef NET_DISK_CACHE_V2_EVICTION_H_
6 #define NET_DISK_CACHE_EVICTION_H_ 6 #define NET_DISK_CACHE_V2_EVICTION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "net/disk_cache/rankings.h" 10 #include "net/disk_cache/v2/rankings.h"
11 11
12 namespace disk_cache { 12 namespace disk_cache {
13 13
14 class BackendImpl; 14 class BackendImpl;
15 class EntryImpl; 15 class EntryImpl;
16 struct IndexHeader; 16 struct IndexHeader;
17 17
18 // This class implements the eviction algorithm for the cache and it is tightly 18 // This class implements the eviction algorithm for the cache and it is tightly
19 // integrated with BackendImpl. 19 // integrated with BackendImpl.
20 class Eviction { 20 class Eviction {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool delay_trim_; 81 bool delay_trim_;
82 bool init_; 82 bool init_;
83 bool test_mode_; 83 bool test_mode_;
84 base::WeakPtrFactory<Eviction> ptr_factory_; 84 base::WeakPtrFactory<Eviction> ptr_factory_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(Eviction); 86 DISALLOW_COPY_AND_ASSIGN(Eviction);
87 }; 87 };
88 88
89 } // namespace disk_cache 89 } // namespace disk_cache
90 90
91 #endif // NET_DISK_CACHE_EVICTION_H_ 91 #endif // NET_DISK_CACHE_V2_EVICTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698