Extract SIGPIPE ignoring code to a common place.
[chromium-blink-merge.git] / chrome / common / extensions / api / media_galleries_private.idl
blob5b8b2f4ce11a0e1b3c3e0ac079f743c2244a2b98
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.
12 DOMString deviceName;
14 // A transient id that unique identifies the device.
15 DOMString deviceId;
18 // A dictionary that describes a detached device.
19 [inline_doc] dictionary DeviceDetachmentDetails {
20 // A transient id that unique identifies the device.
21 DOMString deviceId;
24 interface Events {
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);