1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/shell_dialogs/linux_shell_dialog.h" 6 7 namespace { 8 9 ui::LinuxShellDialog* g_linux_shell_dialog = NULL; 10 11 } // namespace 12 13 namespace ui { 14 15 void LinuxShellDialog::SetInstance(LinuxShellDialog* instance) { 16 g_linux_shell_dialog = instance; 17 } 18 19 const LinuxShellDialog* LinuxShellDialog::instance() { 20 return g_linux_shell_dialog; 21 } 22 23 } // namespace ui 24