fuchsia: Stub SelectFileDialog
Needed for headless_shell in is_component_mode=true.
Bug: 743296, 746674
Change-Id: Idcec3a837dab82557876bc49d33e47a3b9405e8b
Reviewed-on: https://chromium-review.googlesource.com/621396
Commit-Queue: Scott Graham <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Cr-Commit-Position: refs/heads/master@{#495651}
diff --git a/ui/shell_dialogs/select_file_dialog_fuchsia.cc b/ui/shell_dialogs/select_file_dialog_fuchsia.cc
new file mode 100644
index 0000000..03d2db9
--- /dev/null
+++ b/ui/shell_dialogs/select_file_dialog_fuchsia.cc
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/shell_dialogs/select_file_dialog.h"
+
+#include "base/logging.h"
+
+namespace ui {
+
+SelectFileDialog* CreateSelectFileDialog(SelectFileDialog::Listener* listener,
+ SelectFilePolicy* policy) {
+ // TODO(fuchsia): Port once we have UI, see https://crbug.com/746674.
+ NOTREACHED();
+ return nullptr;
+}
+
+} // namespace ui