| OLD | NEW |
| 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 #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 5 #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ |
| 6 #define NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 6 #define NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/platform_test.h" | |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "testing/platform_test.h" |
| 11 | 11 |
| 12 namespace disk_cache { | 12 namespace disk_cache { |
| 13 | 13 |
| 14 class Backend; | 14 class Backend; |
| 15 class BackendImpl; | 15 class BackendImpl; |
| 16 class MemBackendImpl; | 16 class MemBackendImpl; |
| 17 | 17 |
| 18 } // namespace disk_cache | 18 } // namespace disk_cache |
| 19 | 19 |
| 20 // These tests can use the path service, which uses autoreleased objects on the | 20 // These tests can use the path service, which uses autoreleased objects on the |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 bool implementation_; | 74 bool implementation_; |
| 75 bool force_creation_; | 75 bool force_creation_; |
| 76 bool first_cleanup_; | 76 bool first_cleanup_; |
| 77 | 77 |
| 78 private: | 78 private: |
| 79 void InitMemoryCache(); | 79 void InitMemoryCache(); |
| 80 void InitDiskCache(); | 80 void InitDiskCache(); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 83 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ |
| OLD | NEW |