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

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

Issue 182093002: Remove the flash specific disk cache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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/flash/flash_cache_test_base.h ('k') | net/disk_cache/flash/flash_entry_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 #include "net/disk_cache/flash/flash_cache_test_base.h"
6
7 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h"
9 #include "base/time/time.h"
10 #include "net/disk_cache/flash/format.h"
11 #include "net/disk_cache/flash/log_store.h"
12 #include "net/disk_cache/flash/storage.h"
13
14 FlashCacheTest::FlashCacheTest() {
15 int seed = static_cast<int>(base::Time::Now().ToInternalValue());
16 srand(seed);
17 }
18
19 FlashCacheTest::~FlashCacheTest() {
20 }
21
22 void FlashCacheTest::SetUp() {
23 const base::FilePath::StringType kCachePath = FILE_PATH_LITERAL("cache");
24 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
25 path_ = temp_dir_.path().Append(kCachePath);
26 }
27
28 void FlashCacheTest::TearDown() {
29 }
OLDNEW
« no previous file with comments | « net/disk_cache/flash/flash_cache_test_base.h ('k') | net/disk_cache/flash/flash_entry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698