Open Bug 1574631 Opened 2 years ago Updated 2 years ago

Move toolkit/xre code shared between browser and launcher processes into its own library

Categories

(Toolkit :: General, task, P3)

Unspecified
Windows
task

Tracking

()

People

(Reporter: aklotz, Unassigned)

References

Details

I am referring to these paths:

  • toolkit/xre/LauncherRegistryInfo.cpp
  • (once bug 1567219 lands) toolkit/xre/WinTokenUtils.cpp

Let's move them into mozglue/misc/winlauncher as their own library that we can then link into (and export from) mozglue.dll, thus allowing both firefox.exe and xul.dll to reference the same shared code.

On further thought, I don't think we should export this stuff from mozglue; since this code is used for launcher process decision making, exporting its functions is... not a great idea.

But we should still combine that code into a library that we can link into both firefox.exe and xul.dll.

Summary: Move toolkit/xre code shared between browser and launcher processes into its own library and link into mozglue → Move toolkit/xre code shared between browser and launcher processes into its own library
You need to log in before you can comment on or make changes to this bug.