chromium/ui/base/clipboard/clipboard_monitor.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/clipboard/clipboard_monitor.h"

#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "build/chromeos_buildflags.h"
#include "ui/base/clipboard/clipboard_observer.h"

namespace ui {

ClipboardMonitor::ClipboardMonitor() = default;

ClipboardMonitor::~ClipboardMonitor() {}

// static
ClipboardMonitor* ClipboardMonitor::GetInstance() {}

void ClipboardMonitor::NotifyClipboardDataChanged() {}

#if BUILDFLAG(IS_CHROMEOS_ASH)
void ClipboardMonitor::NotifyClipboardDataRead() {
  DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
  for (ClipboardObserver& observer : observers_)
    observer.OnClipboardDataRead();
}
#endif

void ClipboardMonitor::AddObserver(ClipboardObserver* observer) {}

void ClipboardMonitor::RemoveObserver(ClipboardObserver* observer) {}

}  // namespace ui