[email protected] | 97c2c03 | 2010-07-07 22:43:41 | [diff] [blame^] | 1 | // Copyright (c) 2010 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.
|
| 4 |
|
| 5 | #include "chrome/browser/clipboard_dispatcher.h"
|
| 6 | #include "base/logging.h"
|
| 7 |
|
| 8 | bool ClipboardDispatcher::ReadAvailableTypes(Clipboard::Buffer buffer,
|
| 9 | std::vector<string16>* types,
|
| 10 | bool* contains_filenames) {
|
| 11 | DCHECK(types);
|
| 12 | DCHECK(contains_filenames);
|
| 13 | types->clear();
|
| 14 | *contains_filenames = false;
|
| 15 | return false;
|
| 16 | }
|
| 17 |
|
| 18 | bool ClipboardDispatcher::ReadData(Clipboard::Buffer buffer,
|
| 19 | const string16& type,
|
| 20 | string16* data,
|
| 21 | string16* metadata) {
|
| 22 | DCHECK(data);
|
| 23 | DCHECK(metadata);
|
| 24 | return false;
|
| 25 | }
|
| 26 |
|
| 27 | bool ClipboardDispatcher::ReadFilenames(Clipboard::Buffer buffer,
|
| 28 | std::vector<string16>* filenames) {
|
| 29 | DCHECK(filenames);
|
| 30 | filenames->clear();
|
| 31 | return false;
|
| 32 | }
|
| 33 |
|