Restart Chrome if per session flags have been specified on ChromeOS.

After the profile is loaded we verify if the user has specfied any flags
or if there were flags specified per policy that differ from the user
specfied flags and in either case restart Chrome with the desired flags.

This allows non-owners to use the about:flags page and prevents policy
set flags from leaking inside user sessions.

BUG=221352
TEST=unit_tests & Manually by specifying flags in non-owner session and observing them respected.

Review URL: https://chromiumcodereview.appspot.com/16770002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206832 0039d316-1c4b-4281-b951-d872f2087c98
11 files changed