OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This is a private API for M23. This will be superceded by the | 5 // This is a private API for M23. This will be superceded by the |
6 // systeminfo.storage API in M24. | 6 // systeminfo.storage API in M24. |
7 | 7 // This API's description needs to be updated. Issue: |
| 8 // https://code.google.com/p/chromium/issues/detail?id=252048 |
8 namespace mediaGalleriesPrivate { | 9 namespace mediaGalleriesPrivate { |
9 // A dictionary that describes an attached device. | 10 // A dictionary that describes an attached device. |
10 [inline_doc] dictionary DeviceAttachmentDetails { | 11 [inline_doc] dictionary DeviceAttachmentDetails { |
11 // The name of the device. | 12 // The name of the device. |
12 DOMString deviceName; | 13 DOMString deviceName; |
13 | 14 |
14 // A transient id that unique identifies the device. | 15 // A transient id that unique identifies the device. |
15 DOMString deviceId; | 16 DOMString deviceId; |
16 }; | 17 }; |
17 | 18 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 interface Functions { | 84 interface Functions { |
84 static void addGalleryWatch(DOMString galleryId, | 85 static void addGalleryWatch(DOMString galleryId, |
85 AddGalleryWatchCallback callback); | 86 AddGalleryWatchCallback callback); |
86 static void removeGalleryWatch(DOMString galleryId); | 87 static void removeGalleryWatch(DOMString galleryId); |
87 static void getAllGalleryWatch(GetAllGalleryWatchCallback callback); | 88 static void getAllGalleryWatch(GetAllGalleryWatchCallback callback); |
88 static void removeAllGalleryWatch(); | 89 static void removeAllGalleryWatch(); |
89 static void ejectDevice(DOMString deviceId, EjectDeviceCallback callback); | 90 static void ejectDevice(DOMString deviceId, EjectDeviceCallback callback); |
90 static void getHandlers(GetHandlersCallback callback); | 91 static void getHandlers(GetHandlersCallback callback); |
91 }; | 92 }; |
92 }; | 93 }; |
OLD | NEW |