Searched refs:ImportantFileWriter (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/files/ |
D | important_file_writer.cc | 61 return ImportantFileWriter::WriteFileAtomically(path, *data); in WriteScopedStringToFileAtomically() 67 bool ImportantFileWriter::WriteFileAtomically(const FilePath& path, in WriteFileAtomically() 127 ImportantFileWriter::ImportantFileWriter( in ImportantFileWriter() function in base::ImportantFileWriter 130 : ImportantFileWriter( in ImportantFileWriter() 136 ImportantFileWriter::ImportantFileWriter( in ImportantFileWriter() function in base::ImportantFileWriter 149 ImportantFileWriter::~ImportantFileWriter() { in ~ImportantFileWriter() 156 bool ImportantFileWriter::HasPendingWrite() const { in HasPendingWrite() 161 void ImportantFileWriter::WriteNow(scoped_ptr<std::string> data) { in WriteNow() 182 void ImportantFileWriter::ScheduleWrite(DataSerializer* serializer) { in ScheduleWrite() 190 &ImportantFileWriter::DoScheduledWrite); in ScheduleWrite() [all …]
|
D | important_file_writer.h | 40 class BASE_EXPORT ImportantFileWriter : public NonThreadSafe { 65 ImportantFileWriter(const FilePath& path, 69 ImportantFileWriter(const FilePath& path, 75 ~ImportantFileWriter(); 133 WeakPtrFactory<ImportantFileWriter> weak_factory_; 135 DISALLOW_COPY_AND_ASSIGN(ImportantFileWriter);
|
D | important_file_writer_unittest.cc | 34 class DataSerializer : public ImportantFileWriter::DataSerializer { 54 void ObserveNextSuccessfulWrite(ImportantFileWriter* writer); 72 ImportantFileWriter* writer) { in ObserveNextSuccessfulWrite() 103 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 115 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 149 ImportantFileWriter writer(file_, in TEST_F() 166 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 182 ImportantFileWriter writer(file_, in TEST_F()
|
/external/libbrillo/brillo/ |
D | key_value_store.cc | 82 return base::ImportantFileWriter::WriteFileAtomically(path, SaveToString()); in Save()
|