namespace pnacl {
class PnaclHostTest;
+class PnaclHostTestDisk;
class PnaclTranslationCache;
// Shared state (translation cache) and common utilities (temp file creation)
// ever been started.
friend struct DefaultSingletonTraits<PnaclHost>;
friend class pnacl::PnaclHostTest;
+ friend class pnacl::PnaclHostTestDisk;
enum CacheState {
CacheUninitialized,
CacheInitializing,
static bool TranslationMayBeCached(
const PendingTranslationMap::iterator& entry);
- void InitForTest(base::FilePath temp_dir);
+ void InitForTest(base::FilePath temp_dir, bool in_memory);
void OnCacheInitialized(int net_error);
static void DoCreateTemporaryFile(base::FilePath temp_dir_,