mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
e9207164c6
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001 --- dom/ipc/ContentChild.cpp | 18 +++- dom/ipc/ContentChild.h | 5 +- dom/ipc/ContentParent.cpp | 22 +++- dom/ipc/ContentParent.h | 2 + dom/ipc/PContent.ipdl | 6 +- dom/system/gonk/AutoMounter.cpp | 19 +++- dom/system/gonk/Makefile.in | 4 +- dom/system/gonk/Volume.cpp | 62 ++++++++++- dom/system/gonk/Volume.h | 11 +- dom/system/gonk/VolumeServiceIOThread.cpp | 11 +- dom/system/gonk/VolumeServiceIOThread.h | 7 +- dom/system/gonk/nsIVolume.idl | 21 +++- dom/system/gonk/nsIVolumeMountLock.idl | 12 +++ dom/system/gonk/nsIVolumeService.idl | 9 +- dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++- dom/system/gonk/nsVolume.h | 43 ++++++-- dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++ dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++ dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------ dom/system/gonk/nsVolumeService.h | 20 +++- layout/build/nsLayoutModule.cpp | 5 +- layout/build/nsLayoutStatics.cpp | 9 ++ 22 files changed, 684 insertions(+), 78 deletions(-) create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp create mode 100644 dom/system/gonk/nsVolumeMountLock.h
25 lines
811 B
Plaintext
25 lines
811 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
#include "nsIVolume.idl"
|
|
#include "nsIVolumeMountLock.idl"
|
|
|
|
[scriptable, uuid(597403c6-5ba4-4e7b-b3f4-ed3f05f775d8)]
|
|
interface nsIVolumeService : nsISupports
|
|
{
|
|
nsIVolume getVolumeByName(in DOMString volName);
|
|
nsIVolume getVolumeByPath(in DOMString path);
|
|
|
|
void BroadcastVolume(in DOMString volName);
|
|
|
|
nsIVolumeMountLock createMountLock(in DOMString volName);
|
|
};
|
|
|
|
%{C++
|
|
#define NS_VOLUMESERVICE_CID \
|
|
{0x597403c6, 0x5ba4, 0x4e7b, {0xb3, 0xf4, 0xed, 0x3f, 0x05, 0xf7, 0x75, 0xd8}}
|
|
#define NS_VOLUMESERVICE_CONTRACTID "@mozilla.org/telephony/volume-service;1"
|
|
%}
|