Mark supervised profiles as such immediately when they're created.

This happens in Profile::InitProfileUserPrefs(), so we add a new method Profile::Delegate::OnPrefsLoaded() which is called immediately after the PrefService has been creted, and which ProfileManager implements by calling InitProfileUserPrefs().

Also, remove ManagedUserService::InitForTesting in favor of marking the profile as managed at creation.

BUG=279307

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229237 0039d316-1c4b-4281-b951-d872f2087c98
Optimally subdividing vertical space for docked windows. The first window is resized if possible to take up the whole available vertical space. Subsequent windows are sub-dividing this space by getting resized or by resizing other windows or by forcing other windows to get minimized.

BUG=275812
TEST=ash_unittests --gtest_filter=*ThreeWindowsSplitHeightEvenly*:*TwoWindowsHeightRestrictions*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229238 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229238
Add explicit Play/Pause to BufferedDataSource.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229239 0039d316-1c4b-4281-b951-d872f2087c98
Remove NOTIFICATION_WEB_CONTENTS_DESTROYED from the policy browsertest.

BUG=170921
TEST=everything still works

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229240 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229240
Update WPR for Pica benchmark

The new data is for a "refurbished" version of pica which uses a new
event name to signal the end of its transition, so I updated the page_set
as well.

TBR=dtu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229241 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229241