#include "components/headless/select_file_dialog/headless_select_file_dialog.h"
#include "base/memory/ptr_util.h"
#include "ui/gfx/native_widget_types.h"
namespace headless {
HeadlessSelectFileDialogFactory* HeadlessSelectFileDialogFactory::instance_ = …;
class HeadlessSelectFileDialog : public ui::SelectFileDialog { … };
void HeadlessSelectFileDialogFactory::SetUp() { … }
void HeadlessSelectFileDialogFactory::SetSelectFileDialogOnceCallbackForTests(
SelectFileDialogCallback callback) { … }
ui::SelectFileDialog* HeadlessSelectFileDialogFactory::Create(
ui::SelectFileDialog::Listener* listener,
std::unique_ptr<ui::SelectFilePolicy> policy) { … }
HeadlessSelectFileDialogFactory::HeadlessSelectFileDialogFactory() { … }
HeadlessSelectFileDialogFactory::~HeadlessSelectFileDialogFactory() { … }
}