diff options
author | mlerman <mlerman@chromium.org> | 2014-09-08 11:52:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-08 18:54:27 +0000 |
commit | 46a8366faec20a16c85109f480bfa7b348480cac (patch) | |
tree | d1b0e0a699b4abc3681bb3d6f4cc9c6cf060ae5e /chrome/browser/browser_process_impl.cc | |
parent | 041843cbf814dbd52542a985b638d76457290879 (diff) | |
download | chromium_src-46a8366faec20a16c85109f480bfa7b348480cac.zip chromium_src-46a8366faec20a16c85109f480bfa7b348480cac.tar.gz chromium_src-46a8366faec20a16c85109f480bfa7b348480cac.tar.bz2 |
Settings to control Add Person and Browse as Guest.
The settings page will now have two options near the profile management,
which will control whether Browse As Guest and Add Person will be
available from the User Manager. These settings will not be available to supervised users, and will appear only on Desktop OSes.
Also, add a new enterprise policy for the Enable Add Person preference (Browse As Guest policy already exists).
BUG=406473
NOTE: I will remove PRESUBMIT.py from this CL before landing it. It needs to be modified to upload to rietveld from my Windows machine, see crbug.com/409029
Review URL: https://codereview.chromium.org/518063002
Cr-Commit-Position: refs/heads/master@{#293763}
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 75bc30f..03f9702 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -785,8 +785,6 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) { registry->RegisterBooleanPref(prefs::kAllowCrossOriginAuthPrompt, false); - registry->RegisterBooleanPref(prefs::kBrowserGuestModeEnabled, true); - #if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_IOS) registry->RegisterBooleanPref(prefs::kEulaAccepted, false); #endif // defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_IOS) |