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
3 // found in the LICENSE file.
5 // This is a private API for M23. This will be superceded by the
6 // systeminfo.storage API in M24.
8 namespace mediaGalleriesPrivate
{
9 // A dictionary that describes an attached device.
10 [inline_doc
] dictionary DeviceAttachmentDetails
{
11 // The name of the device.
14 // A transient id that unique identifies the device.
18 // A dictionary that describes a detached device.
19 [inline_doc
] dictionary DeviceDetachmentDetails
{
20 // A transient id that unique identifies the device.
25 // Fired when a media device gets attached.
26 static
void onDeviceAttached
(DeviceAttachmentDetails details
);
28 // Fired when a media device gets detached.
29 static
void onDeviceDetached
(DeviceDetachmentDetails details
);