Bug 1345978, part 1 - Add a way to get the platform build id without the service manager. r=froydnj

The next patch needs this value early in startup, before the service
manager is available.

MozReview-Commit-ID: LAfnzV2nfiR

--HG--
extra : rebase_source : 7230335461d06157d916b02fbe37f623fd233fae
This commit is contained in:
Andrew McCreight 2017-03-11 08:01:34 -08:00
parent 85a726e327
commit 3cb01b77f0
2 changed files with 11 additions and 0 deletions

View File

@ -5015,6 +5015,14 @@ mozilla::BrowserTabsRemoteAutostart()
return gBrowserTabsRemoteAutostart;
}
namespace mozilla {
const char*
PlatformBuildID()
{
return gToolkitBuildID;
}
}
void
SetupErrorHandling(const char* progname)
{

View File

@ -118,6 +118,9 @@ namespace mozilla {
namespace startup {
extern GeckoProcessType sChildProcessType;
} // namespace startup
const char* PlatformBuildID();
} // namespace mozilla
/**