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

Side by Side Diff: net/disk_cache/disk_cache_test_base.cc

Issue 43079: NO CODE CHANGE (Closed)
Patch Set: Created 11 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
« no previous file with comments | « net/disk_cache/disk_cache.h ('k') | net/disk_cache/disk_format.h » ('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) 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 #include "net/disk_cache/disk_cache_test_base.h" 5 #include "net/disk_cache/disk_cache_test_base.h"
6 6
7 #include "net/disk_cache/backend_impl.h" 7 #include "net/disk_cache/backend_impl.h"
8 #include "net/disk_cache/disk_cache_test_util.h" 8 #include "net/disk_cache/disk_cache_test_util.h"
9 #include "net/disk_cache/mem_backend_impl.h" 9 #include "net/disk_cache/mem_backend_impl.h"
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 if (size_) 107 if (size_)
108 cache_impl_->SetMaxSize(size_); 108 cache_impl_->SetMaxSize(size_);
109 ASSERT_TRUE(cache_impl_->Init()); 109 ASSERT_TRUE(cache_impl_->Init());
110 } 110 }
111 111
112 void DiskCacheTestWithCache::SetTestMode() { 112 void DiskCacheTestWithCache::SetTestMode() {
113 ASSERT_TRUE(implementation_ && !memory_only_); 113 ASSERT_TRUE(implementation_ && !memory_only_);
114 cache_impl_->SetUnitTestMode(); 114 cache_impl_->SetUnitTestMode();
115 } 115 }
116
OLDNEW
« no previous file with comments | « net/disk_cache/disk_cache.h ('k') | net/disk_cache/disk_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698