diff options
author | Moonchild <moonchild@palemoon.org> | 2022-01-02 16:44:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-01-02 16:44:33 +0000 |
commit | 7198c276ab584a86dc14f972ba8d64f022610713 (patch) | |
tree | 262b1faad77c5d694897f5d5ecac7b1cc27426c7 /xpcom | |
parent | 0c2396808491278981bec84e8998b29ec19d297d (diff) | |
download | aura-central-7198c276ab584a86dc14f972ba8d64f022610713.tar.gz |
Issue %3015 - Part 1: Remove GMP support code.
Diffstat (limited to 'xpcom')
-rw-r--r-- | xpcom/build/XREChildData.h | 7 | ||||
-rw-r--r-- | xpcom/build/nsXULAppAPI.h | 9 | ||||
-rw-r--r-- | xpcom/system/nsIXULRuntime.idl | 3 |
3 files changed, 1 insertions, 18 deletions
diff --git a/xpcom/build/XREChildData.h b/xpcom/build/XREChildData.h index b4cd9895f..98a67a8e4 100644 --- a/xpcom/build/XREChildData.h +++ b/xpcom/build/XREChildData.h @@ -8,12 +8,6 @@ #include "mozilla/UniquePtr.h" -namespace mozilla { -namespace gmp { -class GMPLoader; -} -} - /** * Data needed to start a child process. */ @@ -22,7 +16,6 @@ struct XREChildData /** * Used to load the GMP binary. */ - mozilla::UniquePtr<mozilla::gmp::GMPLoader> gmpLoader; }; #endif // XREChildData_h diff --git a/xpcom/build/nsXULAppAPI.h b/xpcom/build/nsXULAppAPI.h index 18ccca415..7efeadf40 100644 --- a/xpcom/build/nsXULAppAPI.h +++ b/xpcom/build/nsXULAppAPI.h @@ -397,8 +397,6 @@ enum GeckoProcessType GeckoProcessType_IPDLUnitTest, - GeckoProcessType_GMPlugin, // Gecko Media Plugin - GeckoProcessType_GPU, // GPU and compositor process GeckoProcessType_End, @@ -410,7 +408,6 @@ static const char* const kGeckoProcessTypeString[] = { "plugin", "tab", "ipdlunittest", - "geckomediaplugin", "gpu" }; @@ -424,12 +421,6 @@ XRE_API(const char*, XRE_API(void, XRE_SetProcessType, (const char* aProcessTypeString)) -namespace mozilla { -namespace gmp { -class GMPLoader; -} // namespace gmp -} // namespace mozilla - XRE_API(nsresult, XRE_InitChildProcess, (int aArgc, char* aArgv[], diff --git a/xpcom/system/nsIXULRuntime.idl b/xpcom/system/nsIXULRuntime.idl index 994084c0a..956104c2a 100644 --- a/xpcom/system/nsIXULRuntime.idl +++ b/xpcom/system/nsIXULRuntime.idl @@ -73,8 +73,7 @@ interface nsIXULRuntime : nsISupports const unsigned long PROCESS_TYPE_PLUGIN = 1; const unsigned long PROCESS_TYPE_CONTENT = 2; const unsigned long PROCESS_TYPE_IPDLUNITTEST = 3; - const unsigned long PROCESS_TYPE_GMPLUGIN = 4; - const unsigned long PROCESS_TYPE_GPU = 5; + const unsigned long PROCESS_TYPE_GPU = 4; /** * The type of the caller's process. Returns one of the values above. |