author Mike Hommey <>
Thu, 26 Mar 2015 12:07:17 +0900
changeset 258314 fc1e894eec2fbd34b745cd94f505080427d24705
parent 241113 405b0c00071f7f583f722a48e6537950e1a29653
child 318605 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
permissions -rw-r--r--
Bug 1147207 - Add a ComposedFinder class that acts like a FileFinder proxy over multiple FileFinders. r=gps, a=sledru

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 */

include protocol PGMP;
include GMPTypes;

using GMPErr from "gmp-errors.h";

namespace mozilla {
namespace gmp {

async protocol PGMPStorage
  manager PGMP;

  OpenComplete(nsCString aRecordName, GMPErr aStatus);
  ReadComplete(nsCString aRecordName, GMPErr aStatus, uint8_t[] aBytes);
  WriteComplete(nsCString aRecordName, GMPErr aStatus);
  RecordNames(nsCString[] aRecordNames, GMPErr aStatus);

  Open(nsCString aRecordName);
  Read(nsCString aRecordName);
  Write(nsCString aRecordName, uint8_t[] aBytes);
  Close(nsCString aRecordName);


} // namespace gmp
} // namespace mozilla