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

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

Issue 27345: New disk cache eviction algorithm. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/backend_unittest.cc ('k') | net/disk_cache/disk_format.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Defines the public interface of the disk cache. For more details see 5 // Defines the public interface of the disk cache. For more details see
6 // http://wiki/Main/ChromeDiskCacheBackend 6 // http://dev.chromium.org/developers/design-documents/disk-cache
7 7
8 #ifndef NET_DISK_CACHE_DISK_CACHE_H__ 8 #ifndef NET_DISK_CACHE_DISK_CACHE_H_
9 #define NET_DISK_CACHE_DISK_CACHE_H__ 9 #define NET_DISK_CACHE_DISK_CACHE_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/platform_file.h" 15 #include "base/platform_file.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
18 18
19 namespace net { 19 namespace net {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // not save it for future use. The lifetime of the base::PlatformFile handle 176 // not save it for future use. The lifetime of the base::PlatformFile handle
177 // is managed by the implementor of this class. 177 // is managed by the implementor of this class.
178 virtual base::PlatformFile GetPlatformFile(int index) = 0; 178 virtual base::PlatformFile GetPlatformFile(int index) = 0;
179 179
180 protected: 180 protected:
181 virtual ~Entry() {} 181 virtual ~Entry() {}
182 }; 182 };
183 183
184 } // namespace disk_cache 184 } // namespace disk_cache
185 185
186 #endif // NET_DISK_CACHE_DISK_CACHE_H__ 186 #endif // NET_DISK_CACHE_DISK_CACHE_H_
187 187
OLDNEW
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/disk_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698