/* 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 protocol PGMPVideoDecoder;
include protocol PGMPVideoEncoder;
include protocol PChromiumCDM;


include "GMPContentChild.h";

namespace mozilla {
namespace gmp {

[NeedsOtherPid, ChildImpl="mozilla::gmp::GMPContentChild", ParentImpl=virtual, ParentProc=anydom, ChildProc=GMPlugin]
sync protocol PGMPContent
{
  manages PGMPVideoDecoder;
  manages PGMPVideoEncoder;
  manages PChromiumCDM;

child:
  async PGMPVideoDecoder();
  async PGMPVideoEncoder();
  async PChromiumCDM(nsCString aKeySystem);

};

} // namespace gmp
} // namespace mozilla
