Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / open_from_clipboard / clipboard_recent_content.cc
blob56312ec2ae029a7a5a3b99ede5d4e87b234fc38e
1 // Copyright 2015 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.
5 #include "components/open_from_clipboard/clipboard_recent_content.h"
7 namespace {
8 ClipboardRecentContent* g_clipboard_recent_content = nullptr;
11 ClipboardRecentContent::ClipboardRecentContent() {}
13 ClipboardRecentContent::~ClipboardRecentContent() {}
15 // static
16 ClipboardRecentContent* ClipboardRecentContent::GetInstance() {
17 return g_clipboard_recent_content;
20 // static
21 void ClipboardRecentContent::SetInstance(ClipboardRecentContent* instance) {
22 g_clipboard_recent_content = instance;