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

Unified Diff: chrome/browser/nacl_host/pnacl_translation_cache.cc

Issue 24208003: Add PNACL_CACHE cache backend type, and allow larger files for this type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/pnacl_translation_cache.cc
diff --git a/chrome/browser/nacl_host/pnacl_translation_cache.cc b/chrome/browser/nacl_host/pnacl_translation_cache.cc
index 278e89a9d3858b132705621c0b360e74ea44bc0a..e3c8c207cbb429c29bd1b40e2d6a2dd62fee2922 100644
--- a/chrome/browser/nacl_host/pnacl_translation_cache.cc
+++ b/chrome/browser/nacl_host/pnacl_translation_cache.cc
@@ -372,7 +372,7 @@ void PnaclTranslationCache::GetNexe(const std::string& key,
int PnaclTranslationCache::InitOnDisk(const base::FilePath& cache_directory,
const CompletionCallback& callback) {
in_memory_ = false;
- return Init(net::DISK_CACHE, cache_directory, 0 /* auto size */, callback);
+ return Init(net::PNACL_CACHE, cache_directory, 0 /* auto size */, callback);
}
int PnaclTranslationCache::InitInMemory(const CompletionCallback& callback) {
« no previous file with comments | « no previous file | chrome/browser/nacl_host/pnacl_translation_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698