From ac25827a87d86f1cf9e48aab6605f77a2c89041a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 24 May 2018 14:06:04 +0200 Subject: Remove SPS profiler. - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions. --- dom/plugins/ipc/PluginModuleParent.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'dom/plugins/ipc/PluginModuleParent.h') diff --git a/dom/plugins/ipc/PluginModuleParent.h b/dom/plugins/ipc/PluginModuleParent.h index 040cd9168..3f4ed8ce1 100644 --- a/dom/plugins/ipc/PluginModuleParent.h +++ b/dom/plugins/ipc/PluginModuleParent.h @@ -30,10 +30,6 @@ class nsIProfileSaveEvent; class nsPluginTag; namespace mozilla { -#ifdef MOZ_ENABLE_PROFILER_SPS -class ProfileGatherer; -#endif - namespace layers { class TextureClientRecycleAllocator; } // namespace layers @@ -467,13 +463,6 @@ class PluginModuleChromeParent void CachedSettingChanged(); -#ifdef MOZ_ENABLE_PROFILER_SPS - void GatherAsyncProfile(); - void GatheredAsyncProfile(nsIProfileSaveEvent* aSaveEvent); - void StartProfiler(nsIProfilerStartParams* aParams); - void StopProfiler(); -#endif - virtual bool RecvProfile(const nsCString& aProfile) override; @@ -519,11 +508,6 @@ private: virtual void UpdatePluginTimeout() override; -#ifdef MOZ_ENABLE_PROFILER_SPS - void InitPluginProfiling(); - void ShutdownPluginProfiling(); -#endif - void RegisterSettingsCallbacks(); void UnregisterSettingsCallbacks(); @@ -606,9 +590,6 @@ private: // processes in existence! dom::ContentParent* mContentParent; nsCOMPtr mPluginOfflineObserver; -#ifdef MOZ_ENABLE_PROFILER_SPS - RefPtr mGatherer; -#endif nsCString mProfile; bool mIsBlocklisted; static bool sInstantiated; -- cgit v1.2.3