OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_ |
| 6 #define NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "base/scoped_temp_dir.h" |
| 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 |
| 14 namespace disk_cache { |
| 15 |
| 16 class Storage; |
| 17 |
| 18 } // namespace disk_cache |
| 19 |
| 20 class FlashCacheTest : public testing::Test { |
| 21 protected: |
| 22 FlashCacheTest(); |
| 23 virtual ~FlashCacheTest(); |
| 24 |
| 25 virtual void SetUp() OVERRIDE; |
| 26 virtual void TearDown() OVERRIDE; |
| 27 |
| 28 scoped_ptr<disk_cache::Storage> storage_; |
| 29 ScopedTempDir temp_dir_; |
| 30 int32 num_segments_in_storage_; |
| 31 |
| 32 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(FlashCacheTest); |
| 34 }; |
| 35 |
| 36 #endif // NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_ |
OLD | NEW |