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 "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "testing/platform_test.h" | 10 #include "testing/platform_test.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 bool force_creation_; | 83 bool force_creation_; |
84 bool new_eviction_; | 84 bool new_eviction_; |
85 bool first_cleanup_; | 85 bool first_cleanup_; |
86 bool integrity_; | 86 bool integrity_; |
87 // This is intentionally left uninitialized, to be used by any test. | 87 // This is intentionally left uninitialized, to be used by any test. |
88 bool success_; | 88 bool success_; |
89 | 89 |
90 private: | 90 private: |
91 void InitMemoryCache(); | 91 void InitMemoryCache(); |
92 void InitDiskCache(); | 92 void InitDiskCache(); |
93 void InitDiskCacheImpl(const std::wstring path); | 93 void InitDiskCacheImpl(const std::wstring& path); |
94 }; | 94 }; |
95 | 95 |
96 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 96 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ |
OLD | NEW |