Chromium Code Reviews| Index: mojo/services/public/interfaces/clipboard/clipboard.mojom |
| diff --git a/mojo/services/public/interfaces/clipboard/clipboard.mojom b/mojo/services/public/interfaces/clipboard/clipboard.mojom |
| index eca47b92392c53f6d117bb8b937990b3d01b60ec..dcbfef218fd1076d86f698f700b89ea424860e7a 100644 |
| --- a/mojo/services/public/interfaces/clipboard/clipboard.mojom |
| +++ b/mojo/services/public/interfaces/clipboard/clipboard.mojom |
| @@ -4,13 +4,6 @@ |
| module mojo { |
| -// A wrapper type which is just a Key/Value pair. Workaround until we get |
| -// proper maps in mojom. |
| -struct MimeTypePair { |
| - string mime_type; |
| - array<uint8> data; |
| -}; |
| - |
| interface Clipboard { |
| enum Type { |
| COPY_PASTE = 0, |
| @@ -44,9 +37,9 @@ interface Clipboard { |
| ReadMimeType(Type clipboard_type, string mime_type) => (array<uint8>? data); |
| // Writes a set of mime types to the clipboard. This will increment the |
| - // sequence number. In the case of an empty or NULL list, this will just |
| + // sequence number. In the case of an empty map, this will just |
|
viettrungluu
2014/10/15 21:21:13
empty or null map?
|
| // clear the clipboard. |
| - WriteClipboardData(Type clipboard_type, array<MimeTypePair>? data); |
| + WriteClipboardData(Type clipboard_type, map<string, array<uint8>>? data); |
| }; |
| } // module mojo |