PGMPContent.ipdl (1085B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 include protocol PGMPVideoDecoder; 7 include protocol PGMPVideoEncoder; 8 include protocol PChromiumCDM; 9 10 #if defined(MOZ_SANDBOX) && defined(MOZ_DEBUG) && defined(ENABLE_TESTS) 11 include protocol PSandboxTesting; 12 #endif 13 14 include "GMPContentChild.h"; 15 16 namespace mozilla { 17 namespace gmp { 18 19 [NeedsOtherPid, ChildImpl="GMPContentChild", ParentImpl=virtual, ParentProc=anydom, ChildProc=GMPlugin] 20 sync protocol PGMPContent 21 { 22 manages PGMPVideoDecoder; 23 manages PGMPVideoEncoder; 24 manages PChromiumCDM; 25 26 child: 27 async PGMPVideoDecoder(); 28 async PGMPVideoEncoder(); 29 async PChromiumCDM(nsCString aKeySystem); 30 31 #if defined(MOZ_SANDBOX) && defined(MOZ_DEBUG) && defined(ENABLE_TESTS) 32 async InitSandboxTesting(Endpoint<PSandboxTestingChild> aEndpoint); 33 #endif 34 }; 35 36 } // namespace gmp 37 } // namespace mozilla