Index: ui/shell_dialogs/linux_shell_dialog.cc |
diff --git a/ui/shell_dialogs/linux_shell_dialog.cc b/ui/shell_dialogs/linux_shell_dialog.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..059bb72456435f08393d06532316ed5674eb1eee |
--- /dev/null |
+++ b/ui/shell_dialogs/linux_shell_dialog.cc |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2013 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/linux_shell_dialog.h" |
+ |
+namespace { |
+ |
+ui::LinuxShellDialog* g_linux_shell_dialog = NULL; |
+ |
+} // namespace |
+ |
+namespace ui { |
+ |
+void LinuxShellDialog::SetInstance(LinuxShellDialog* instance) { |
+ g_linux_shell_dialog = instance; |
+} |
+ |
+const LinuxShellDialog* LinuxShellDialog::instance() { |
+ return g_linux_shell_dialog; |
+} |
+ |
+} // namespace ui |