summaryrefslogtreecommitdiffstats
path: root/chrome/browser/clipboard_dispatcher_mac.mm
blob: ce7e39b9d9bde0aad1c62c34e63c0fa0bf3f739f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) 2010 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 "chrome/browser/clipboard_dispatcher.h"
#include "base/logging.h"

bool ClipboardDispatcher::ReadAvailableTypes(Clipboard::Buffer buffer,
                                             std::vector<string16>* types,
                                             bool* contains_filenames) {
  DCHECK(types);
  DCHECK(contains_filenames);
  types->clear();
  *contains_filenames = false;
  return false;
}

bool ClipboardDispatcher::ReadData(Clipboard::Buffer buffer,
                                   const string16& type,
                                   string16* data,
                                   string16* metadata) {
  DCHECK(data);
  DCHECK(metadata);
  return false;
}

bool ClipboardDispatcher::ReadFilenames(Clipboard::Buffer buffer,
                                        std::vector<string16>* filenames) {
  DCHECK(filenames);
  filenames->clear();
  return false;
}