| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" | 
| 10 #include "base/thread.h" | 10 #include "base/threading/thread.h" | 
| 11 #include "net/base/cache_type.h" | 11 #include "net/base/cache_type.h" | 
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" | 
| 13 #include "testing/platform_test.h" | 13 #include "testing/platform_test.h" | 
| 14 | 14 | 
| 15 class FilePath; | 15 class FilePath; | 
| 16 | 16 | 
| 17 namespace net { | 17 namespace net { | 
| 18 | 18 | 
| 19 class IOBuffer; | 19 class IOBuffer; | 
| 20 | 20 | 
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 134  private: | 134  private: | 
| 135   void InitMemoryCache(); | 135   void InitMemoryCache(); | 
| 136   void InitDiskCache(); | 136   void InitDiskCache(); | 
| 137   void InitDiskCacheImpl(const FilePath& path); | 137   void InitDiskCacheImpl(const FilePath& path); | 
| 138 | 138 | 
| 139   base::Thread cache_thread_; | 139   base::Thread cache_thread_; | 
| 140   DISALLOW_COPY_AND_ASSIGN(DiskCacheTestWithCache); | 140   DISALLOW_COPY_AND_ASSIGN(DiskCacheTestWithCache); | 
| 141 }; | 141 }; | 
| 142 | 142 | 
| 143 #endif  // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 143 #endif  // NET_DISK_CACHE_DISK_CACHE_TEST_BASE_H_ | 
| OLD | NEW | 
|---|