Searched refs:ImportantFileWriterCleaner (Results 1 – 4 of 4) sorted by relevance
43 ImportantFileWriterCleaner& ImportantFileWriterCleaner::GetInstance() { in GetInstance()44 static NoDestructor<ImportantFileWriterCleaner> instance; in GetInstance()49 void ImportantFileWriterCleaner::AddDirectory(const FilePath& directory) { in AddDirectory()63 FROM_HERE, BindOnce(&ImportantFileWriterCleaner::AddDirectoryImpl, in AddDirectory()68 void ImportantFileWriterCleaner::Initialize() { in Initialize()76 void ImportantFileWriterCleaner::Start() { in Start()94 void ImportantFileWriterCleaner::Stop() { in Stop()106 void ImportantFileWriterCleaner::UninitializeForTesting() { in UninitializeForTesting()120 base::Time ImportantFileWriterCleaner::GetUpperBoundTimeForTest() const { in GetUpperBoundTimeForTest()124 ImportantFileWriterCleaner::ImportantFileWriterCleaner() in ImportantFileWriterCleaner() function in base::ImportantFileWriterCleaner[all …]
28 : old_file_time_(ImportantFileWriterCleaner::GetInstance() in ImportantFileWriterCleanerTest()38 auto& instance = ImportantFileWriterCleaner::GetInstance(); in ScopedCleanerLifetime()45 ImportantFileWriterCleaner::GetInstance().Stop(); in ~ScopedCleanerLifetime()132 ImportantFileWriterCleaner::GetInstance().UninitializeForTesting(); in TearDown()138 ImportantFileWriterCleaner::AddDirectory(dir_1()); in TEST_F()150 ImportantFileWriterCleaner::GetInstance().Initialize(); in TEST_F()151 ImportantFileWriterCleaner::AddDirectory(dir_1()); in TEST_F()169 ImportantFileWriterCleaner::GetInstance().Initialize(); in TEST_F()170 ImportantFileWriterCleaner::AddDirectory(dir_1()); in TEST_F()185 ImportantFileWriterCleaner::GetInstance().Initialize(); in TEST_F()[all …]
40 class BASE_EXPORT ImportantFileWriterCleaner {43 static ImportantFileWriterCleaner& GetInstance();45 ImportantFileWriterCleaner(const ImportantFileWriterCleaner&) = delete;46 ImportantFileWriterCleaner& operator=(const ImportantFileWriterCleaner&) =48 ~ImportantFileWriterCleaner() = delete;81 friend class NoDestructor<ImportantFileWriterCleaner>;83 ImportantFileWriterCleaner();
152 ImportantFileWriterCleaner::AddDirectory(path.DirName()); in WriteFileAtomicallyImpl()290 ImportantFileWriterCleaner::AddDirectory(path.DirName()); in ImportantFileWriter()