mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Backed out changeset 18cdbda1b5e1 (bug 1574963) for build bustage in /toolkit/profile/nsToolkitProfileService.cpp. CLOSED TREE
This commit is contained in:
parent
3abfc57f0c
commit
4d474a42ea
@ -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.
|
||||
|
@ -477,10 +477,6 @@
|
||||
}
|
||||
},
|
||||
|
||||
"LegacyProfiles": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"LocalFileLinks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user