mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
This commit is contained in:
parent
3fe8aff3f5
commit
1a823f5ad6
113 changed files with 12 additions and 24501 deletions
|
|
@ -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<nsIObserver> mPluginOfflineObserver;
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
RefPtr<mozilla::ProfileGatherer> mGatherer;
|
||||
#endif
|
||||
nsCString mProfile;
|
||||
bool mIsBlocklisted;
|
||||
static bool sInstantiated;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue