With this implementation, logging on to sync logs you in to the multiprofile system (if --multi-profiles flag is on).

A drop-down menu then appears, from which you can create a new profile; this will open a browser window from which you can sync to a different Google account.

When the browser is shut down, the active profile is saved. This profile will be used when the browser is reopened.

Many things need to be added -- there's no duplicate checking, no way to delete a profile, and no color scheme -- etc.  This is just the most basic multi-profile functionality.

BUG=60105
TEST=existing tests; full suite to come.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83261
Review URL: http://codereview.chromium.org/6881054

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