Commit a8533703 authored by rogerta@chromium.org's avatar rogerta@chromium.org

Tell profile sync svc to use all datatypes when the user chooses the default

sync options with one click sign in.

BUG=154940
TEST=Create a new profile.  Don't use sync promo.  Sign in to gmail and use
the one-click sign in feature.  In the bubble that shows up pointing to the
wrench menu, make sure to use the default option and not the advanced option.
Stop and restart chrome.  Go to the settings page and click the "Advanced
sync settings..." button.  Make sure all data types are selected.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162479 0039d316-1c4b-4281-b951-d872f2087c98
parent 1611d2ea
......@@ -69,6 +69,7 @@ void OneClickSigninSyncStarter::SigninSuccess() {
if (start_mode_ == SYNC_WITH_DEFAULT_SETTINGS) {
// Just kick off the sync machine, no need to configure it first.
profile_sync_service->OnUserChoseDatatypes(true, syncer::ModelTypeSet());
profile_sync_service->SetSyncSetupCompleted();
profile_sync_service->SetSetupInProgress(false);
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment