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

Side by Side Diff: net/disk_cache/flash/flash_cache_test_base.h

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/disk_cache_test_base.h ('k') | net/disk_cache/flash/flash_cache_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_FLASH_TEST_BASE_H_ 5 #ifndef NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_
6 #define NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_ 6 #define NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace disk_cache { 14 namespace disk_cache {
15 15
16 class Storage; 16 class Storage;
17 17
18 } // namespace disk_cache 18 } // namespace disk_cache
19 19
20 class FlashCacheTest : public testing::Test { 20 class FlashCacheTest : public testing::Test {
21 protected: 21 protected:
22 FlashCacheTest(); 22 FlashCacheTest();
23 virtual ~FlashCacheTest(); 23 virtual ~FlashCacheTest();
24 24
25 virtual void SetUp() OVERRIDE; 25 virtual void SetUp() OVERRIDE;
26 virtual void TearDown() OVERRIDE; 26 virtual void TearDown() OVERRIDE;
27 27
28 scoped_ptr<disk_cache::Storage> storage_; 28 scoped_ptr<disk_cache::Storage> storage_;
29 ScopedTempDir temp_dir_; 29 base::ScopedTempDir temp_dir_;
30 int32 num_segments_in_storage_; 30 int32 num_segments_in_storage_;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(FlashCacheTest); 33 DISALLOW_COPY_AND_ASSIGN(FlashCacheTest);
34 }; 34 };
35 35
36 #endif // NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_ 36 #endif // NET_DISK_CACHE_DISK_CACHE_FLASH_TEST_BASE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/disk_cache_test_base.h ('k') | net/disk_cache/flash/flash_cache_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698