// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/resource/scoped_file_writer.h" #include "base/files/file_util.h" #include "base/logging.h" namespace ui { // ScopedFileWriter implementation. ScopedFileWriter::ScopedFileWriter(const base::FilePath& path) : … { … } ScopedFileWriter::~ScopedFileWriter() { … } void ScopedFileWriter::Write(const void* data, size_t data_size) { … } bool ScopedFileWriter::Close() { … } } // namespace ui