Index: chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc |
diff --git a/chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc b/chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc |
index e6cb0892b74f8a95fd14d5c539c3f7c7073243f1..df98b3d3ec877b54fa9c6f38689c45ae165cb640 100644 |
--- a/chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc |
+++ b/chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc |
@@ -53,7 +53,7 @@ void PnaclTranslationCacheTest::InitBackend(bool in_mem) { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
} |
// Use the private init method so we can control the size |
- int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::DISK_CACHE, |
+ int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::PNACL_CACHE, |
temp_dir_.path(), |
in_mem ? kMaxMemCacheSize : kTestDiskCacheSize, |
init_cb.callback()); |
@@ -120,7 +120,7 @@ std::string PnaclTranslationCacheTest::GetNexe(const std::string& key) { |
static const std::string test_key("1"); |
static const std::string test_store_val("testnexe"); |
-static const int kLargeNexeSize = 2 * 1024 * 1024; |
+static const int kLargeNexeSize = 8 * 1024 * 1024; |
TEST(PnaclTranslationCacheKeyTest, CacheKeyTest) { |
nacl::PnaclCacheInfo info; |