summaryrefslogtreecommitdiffstats
path: root/ui/shell_dialogs/linux_shell_dialog.cc
blob: 059bb72456435f08393d06532316ed5674eb1eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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