author Carsten "Tomcat" Book <>
Thu, 09 Oct 2014 12:48:20 +0200
changeset 232773 2da7ce468fb6e90bfbbc7f7682dce0f9961b7986
parent 232737 36c32cb1cbd3afdeec5ccee932affddc77db5e32
child 233253 77fcb81f442b5acf0c5dd122abe2916227d42b71
permissions -rw-r--r--
Backed out changeset 36c32cb1cbd3 (bug 1060179)

/* -*- 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 PGMPVideoDecoder;
include protocol PGMPVideoEncoder;
include protocol PCrashReporter;
include protocol PGMPDecryptor;
include protocol PGMPAudioDecoder;
include protocol PGMPTimer;
include protocol PGMPStorage;

using mozilla::dom::NativeThreadId from "mozilla/dom/TabMessageUtils.h";

namespace mozilla {
namespace gmp {

intr protocol PGMP
  manages PGMPAudioDecoder;
  manages PGMPDecryptor;
  manages PGMPVideoDecoder;
  manages PGMPVideoEncoder;
  manages PCrashReporter;
  manages PGMPTimer;
  manages PGMPStorage;

  async PCrashReporter(NativeThreadId tid);
  async PGMPTimer();
  async PGMPStorage();

  async AsyncShutdownComplete();
  async AsyncShutdownRequired();

  async PGMPAudioDecoder();
  async PGMPDecryptor();
  async PGMPVideoDecoder();
  async PGMPVideoEncoder();

  async BeginAsyncShutdown();
  async CrashPluginNow();

} // namespace gmp
} // namespace mozilla