| Index: net/disk_cache/cache_util.h
|
| diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
|
| index d5cbe1aa647668743384b8069cb340cfb00cb575..2005ba5e24081b17d4ae6b75fe0c1bd878c3a5a9 100644
|
| --- a/net/disk_cache/cache_util.h
|
| +++ b/net/disk_cache/cache_util.h
|
| @@ -36,42 +36,6 @@ NET_EXPORT_PRIVATE bool DeleteCacheFile(const base::FilePath& name);
|
| // task. Used by cache creator itself or by backends for self-restart on error.
|
| bool DelayedCacheCleanup(const base::FilePath& full_path);
|
|
|
| -// Builds an instance of the backend depending on platform, type, experiments
|
| -// etc. Takes care of the retry state. This object will self-destroy when
|
| -// finished.
|
| -class NET_EXPORT_PRIVATE CacheCreator {
|
| - public:
|
| - CacheCreator(const base::FilePath& path, bool force, int max_bytes,
|
| - net::CacheType type, uint32 flags,
|
| - base::MessageLoopProxy* thread, net::NetLog* net_log,
|
| - disk_cache::Backend** backend,
|
| - const net::CompletionCallback& callback);
|
| -
|
| - // Creates the backend.
|
| - int Run();
|
| -
|
| - private:
|
| - ~CacheCreator();
|
| -
|
| - void DoCallback(int result);
|
| -
|
| - void OnIOComplete(int result);
|
| -
|
| - const base::FilePath& path_;
|
| - bool force_;
|
| - bool retry_;
|
| - int max_bytes_;
|
| - net::CacheType type_;
|
| - uint32 flags_;
|
| - scoped_refptr<base::MessageLoopProxy> thread_;
|
| - disk_cache::Backend** backend_;
|
| - net::CompletionCallback callback_;
|
| - disk_cache::Backend* created_cache_;
|
| - net::NetLog* net_log_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(CacheCreator);
|
| -};
|
| -
|
| } // namespace disk_cache
|
|
|
| #endif // NET_DISK_CACHE_CACHE_UTIL_H_
|
|
|