Bug 1314858 - Remove PContent.NotifyGMPsChanged. r=gerald

MozReview-Commit-ID: FMb3AbEEnl5

--HG--
extra : rebase_source : 0adb2527cf71d0c43956b8051ce6a493becc3056
This commit is contained in:
Chris Pearce 2016-11-03 16:26:54 +13:00
parent 7250493ddc
commit 098c153601
4 changed files with 0 additions and 20 deletions

View File

@ -194,7 +194,6 @@
#include "mozilla/widget/PuppetBidiKeyboard.h"
#include "mozilla/RemoteSpellCheckEngineChild.h"
#include "GMPServiceChild.h"
#include "GMPDecoderModule.h"
#include "gfxPlatform.h"
#include "nscore.h" // for NS_FREE_PERMANENT_DATA
#include "VRManagerChild.h"
@ -1705,14 +1704,6 @@ ContentChild::RecvNotifyPresentationReceiverCleanUp(const nsString& aSessionId)
return true;
}
bool
ContentChild::RecvNotifyGMPsChanged()
{
GMPDecoderModule::UpdateUsableCodecs();
MOZ_ASSERT(NS_IsMainThread());
return true;
}
bool
ContentChild::RecvNotifyEmptyHTTPCache()
{

View File

@ -360,8 +360,6 @@ public:
virtual bool
RecvNotifyPresentationReceiverCleanUp(const nsString& aSessionId) override;
virtual bool RecvNotifyGMPsChanged() override;
virtual bool RecvNotifyEmptyHTTPCache() override;
virtual PSpeechSynthesisChild* AllocPSpeechSynthesisChild() override;

View File

@ -561,7 +561,6 @@ static const char* sObserverTopics[] = {
"profiler-subprocess-gather",
"profiler-subprocess",
#endif
"gmp-changed",
"cacheservice:empty-cache",
};
@ -2846,9 +2845,6 @@ ContentParent::Observe(nsISupports* aSubject,
Unused << SendPauseProfiler(false);
}
#endif
else if (!strcmp(aTopic, "gmp-changed")) {
Unused << SendNotifyGMPsChanged();
}
else if (!strcmp(aTopic, "cacheservice:empty-cache")) {
Unused << SendNotifyEmptyHTTPCache();
}

View File

@ -628,11 +628,6 @@ child:
*/
async NotifyPresentationReceiverCleanUp(nsString aSessionId);
/**
* Notify the child that the Gecko Media Plugins installed changed.
*/
async NotifyGMPsChanged();
/**
* Notify the child that cache is emptied.
*/