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

Unified Diff: components/nacl/browser/pnacl_translation_cache_unittest.cc

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Rebase and fix PnaclTranslationCacheTest Created 4 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 | « components/nacl/browser/pnacl_host_unittest.cc ('k') | components/net_log/net_log_file_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/pnacl_translation_cache_unittest.cc
diff --git a/components/nacl/browser/pnacl_translation_cache_unittest.cc b/components/nacl/browser/pnacl_translation_cache_unittest.cc
index 18551f0a069d25ab960f4d14a4796063a09f54a3..dfc3bdefc6372d99051ff342a2c6b587ee2fa03b 100644
--- a/components/nacl/browser/pnacl_translation_cache_unittest.cc
+++ b/components/nacl/browser/pnacl_translation_cache_unittest.cc
@@ -60,7 +60,7 @@ void PnaclTranslationCacheTest::InitBackend(bool in_mem) {
}
// Use the private init method so we can control the size
int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::PNACL_CACHE,
- temp_dir_.path(),
+ in_mem ? base::FilePath() : temp_dir_.GetPath(),
vabr (Chromium) 2016/09/14 13:32:41 Before: ScopedTempDir needed to trust InitBackend
Mark Seaborn 2016/09/14 18:27:26 Can you put that note in the commit message, pleas
vabr (Chromium) 2016/09/14 20:14:39 I made an attempt at adding this to the CL. There
in_mem ? kMaxMemCacheSize : kTestDiskCacheSize,
init_cb.callback());
if (in_mem)
« no previous file with comments | « components/nacl/browser/pnacl_host_unittest.cc ('k') | components/net_log/net_log_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698