summaryrefslogtreecommitdiffstats
path: root/components/open_from_clipboard/clipboard_recent_content.cc
blob: 56312ec2ae029a7a5a3b99ede5d4e87b234fc38e (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 2015 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 "components/open_from_clipboard/clipboard_recent_content.h"

namespace {
ClipboardRecentContent* g_clipboard_recent_content = nullptr;
}

ClipboardRecentContent::ClipboardRecentContent() {}

ClipboardRecentContent::~ClipboardRecentContent() {}

// static
ClipboardRecentContent* ClipboardRecentContent::GetInstance() {
  return g_clipboard_recent_content;
}

// static
void ClipboardRecentContent::SetInstance(ClipboardRecentContent* instance) {
  g_clipboard_recent_content = instance;
}