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

Unified Diff: net/disk_cache/disk_cache_test_base.h

Issue 6263010: More net/ header/implementation method reordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/disk_cache/disk_cache_test_base.h
diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h
index 13b38795cf81a9a949726c7d2be07e3b6927bbe5..0fd98b8cb91452d8ef0b7b9c1073bd20d0fd6193 100644
--- a/net/disk_cache/disk_cache_test_base.h
+++ b/net/disk_cache/disk_cache_test_base.h
@@ -40,15 +40,10 @@ class DiskCacheTest : public PlatformTest {
// Provides basic support for cache related tests.
class DiskCacheTestWithCache : public DiskCacheTest {
protected:
- DiskCacheTestWithCache()
- : cache_(NULL), cache_impl_(NULL), mem_cache_(NULL), mask_(0), size_(0),
- type_(net::DISK_CACHE), memory_only_(false), implementation_(false),
- force_creation_(false), new_eviction_(false), first_cleanup_(true),
- integrity_(true), use_current_thread_(false),
- cache_thread_("CacheThread") {}
+ DiskCacheTestWithCache();
+ virtual ~DiskCacheTestWithCache();
void InitCache();
- virtual void TearDown();
void SimulateCrash();
void SetTestMode();
@@ -112,6 +107,9 @@ class DiskCacheTestWithCache : public DiskCacheTest {
int WriteSparseData(disk_cache::Entry* entry, int64 offset,
net::IOBuffer* buf, int len);
+ // DiskCacheTest:
+ virtual void TearDown();
+
// cache_ will always have a valid object, regardless of how the cache was
// initialized. The implementation pointers can be NULL.
disk_cache::Backend* cache_;

Powered by Google App Engine
This is Rietveld 408576698