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

Unified Diff: net/disk_cache/backend_unittest.cc

Issue 113931: Remove code path that passes a file handle to the renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/load_flags.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_unittest.cc
===================================================================
--- net/disk_cache/backend_unittest.cc (revision 17048)
+++ net/disk_cache/backend_unittest.cc (working copy)
@@ -1247,18 +1247,15 @@
ScopedTestCache store2(L"cache_test2");
ScopedTestCache store3(L"cache_test3");
- const int kNumberOfCaches = 3;
+ const int kNumberOfCaches = 2;
scoped_ptr<disk_cache::Backend> cache[kNumberOfCaches];
cache[0].reset(disk_cache::CreateCacheBackend(store1.path_wstring(), false, 0,
net::DISK_CACHE));
cache[1].reset(disk_cache::CreateCacheBackend(store2.path_wstring(), false, 0,
net::MEDIA_CACHE));
- cache[2].reset(disk_cache::CreateCacheBackend(store3.path_wstring(), false, 0,
- net::TEMP_MEDIA_CACHE));
- ASSERT_TRUE(cache[0].get() != NULL && cache[1].get() != NULL &&
- cache[2].get() != NULL);
+ ASSERT_TRUE(cache[0].get() != NULL && cache[1].get() != NULL);
std::string key("the first key");
disk_cache::Entry* entry;
« no previous file with comments | « net/base/load_flags.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698