Fix the System Profile to not load extensions. It could otherwise be forced to by...
commit7831f57d5f56e9cafe77388b20a83a90d6eb7918
authormlerman <mlerman@chromium.org>
Mon, 25 May 2015 11:40:15 +0000 (25 04:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 25 May 2015 11:40:49 +0000 (25 11:40 +0000)
treeae659bc4ee503610bf67d6abd532f934bf57b9d5
parent870dbbf58c38208eeab114d1c36700aa0460d03c
Fix the System Profile to not load extensions. It could otherwise be forced to by GPO.

A few releases ago I introduced a System Profile to back the User Manager (https://codereview.chromium.org/847733005). This profile, however, is causing some problems. I'm trying to reduce those by making clearer the contract of what it's for: A profile that doesn't take a browser window, has no extensions, writes little to disk, etc.

This certainly addresses issue #4 raised within the bug, and address the other issues as well (I can't repro them). This CL generally hardens Chrome for the System Profile in a lot of the same ways we do the Guest Profile.

BUG=482176
TBR=jcivelli@chromium.org (a function, called from chrome/test that lives in c/b/profiles, was renamed).

Review URL: https://codereview.chromium.org/1129293002

Cr-Commit-Position: refs/heads/master@{#331276}
13 files changed:
chrome/browser/app_controller_mac.mm
chrome/browser/extensions/chrome_process_manager_delegate.cc
chrome/browser/extensions/extension_system_impl.cc
chrome/browser/extensions/tab_helper.cc
chrome/browser/profiles/profile_manager.cc
chrome/browser/profiles/profile_manager.h
chrome/browser/profiles/profile_window.cc
chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
chrome/browser/ui/browser.cc
chrome/browser/ui/browser_command_controller.cc
chrome/browser/ui/startup/startup_browser_creator.cc
chrome/test/base/testing_profile_manager.cc
tools/metrics/actions/actions.xml