Searched refs:spare_path (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator.cc | 712 const FilePath& spare_path, in CreateWithActiveFile() argument 722 if (!spare_path.empty()) { in CreateWithActiveFile() 723 base::ReplaceFile(spare_path, active_path, nullptr); in CreateWithActiveFile() 724 DCHECK(!base::PathExists(spare_path)); in CreateWithActiveFile() 736 FilePath base_path, active_path, spare_path; in CreateWithActiveFileInDir() local 737 ConstructFilePaths(dir, name, &base_path, &active_path, &spare_path); in CreateWithActiveFileInDir() 738 return CreateWithActiveFile(base_path, active_path, spare_path, size, id, in CreateWithActiveFileInDir() 836 bool GlobalHistogramAllocator::CreateSpareFile(const FilePath& spare_path, in CreateSpareFile() argument 838 FilePath temp_spare_path = spare_path.AddExtension(FILE_PATH_LITERAL(".tmp")); in CreateSpareFile() 853 success = ReplaceFile(temp_spare_path, spare_path, nullptr); in CreateSpareFile() [all …]
|
D | persistent_histogram_allocator.h | 370 const FilePath& spare_path, 423 static bool CreateSpareFile(const FilePath& spare_path, size_t size);
|