Closed Bug 1599521 Opened 5 years ago Closed 4 years ago

Add helper method for XRE_GeckoProcessTypeToString(XRE_GetProcessType())

Categories

(Core :: XPCOM, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

After looking at my patch to bug 1598787, I realized that XRE_GeckoProcessTypeToString(XRE_GetProcessType()) is very common, so I think it makes sense to define a helper method to just do that. I called it XRE_GetProcessTypeString().

I also removed the unused forward declaration of GMPLoader. It used to
be needed for the declaration of XRE_InitChildProcess.

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7acb6efd04cc
Add helper method for getting a string for the current process type. r=froydnj
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: