Backed out changeset 18cdbda1b5e1 (bug 1574963) for build bustage in /toolkit/profile/nsToolkitProfileService.cpp. CLOSED TREE

This commit is contained in:
Dorel Luca 2019-10-02 22:43:04 +03:00
parent 3abfc57f0c
commit 4d474a42ea
3 changed files with 1 additions and 13 deletions

View File

@ -942,10 +942,6 @@ var Policies = {
},
},
LegacyProfiles: {
// Handled in nsToolkitProfileService.cpp (Windows only)
},
LocalFileLinks: {
onBeforeAddons(manager, param) {
// If there are existing capabilities, lock them with the policy pref.

View File

@ -477,10 +477,6 @@
}
},
"LegacyProfiles": {
"type": "boolean"
},
"LocalFileLinks": {
"type": "array",
"items": {

View File

@ -14,7 +14,6 @@
#ifdef XP_WIN
# include <windows.h>
# include <shlobj.h>
# include "mozilla/PolicyChecks.h"
#endif
#ifdef XP_UNIX
# include <unistd.h>
@ -1798,12 +1797,9 @@ bool nsToolkitProfileService::IsSnapEnvironment() {
* application versions to different locations, some application sandboxing
* systems as well as enterprise deployments. This environment variable provides
* a way to opt out of dedicated profiles for these cases.
*
* For Windows, we provide a policy to accomplish the same thing.
*/
bool nsToolkitProfileService::UseLegacyProfiles() {
return !!PR_GetEnv("MOZ_LEGACY_PROFILES") ||
PolicyCheckBoolean(L"LegacyProfiles");
return !!PR_GetEnv("MOZ_LEGACY_PROFILES");
}
struct FindInstallsClosure {