Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Issue 933293005: Disable sync for Lightspeed experimentation. (Closed)

Created:
5 years, 10 months ago by Mike Lerman
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, pam+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable sync for Lightspeed experimentation. We want to determine Sync's contribution to Browser startup. As such, we will add code allowing us to disable Sync (or a part thereof) via Finch. The SupervisedUserService was/is not robust to disabling Sync (it crashes). Since disabling sync is a generally supported feature (there's a command line flag), that is now fixed. BUG=454788 Committed: https://crrev.com/4cda8457e67bfd338eb4cd82b94c48084f15685f Cr-Commit-Position: refs/heads/master@{#317642}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Sync doesn't disable for supervised users #

Total comments: 2

Patch Set 3 : braces {} #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Mike Lerman
Hi, Please review the attached CL. Thanks! zea - c/b/sync, make sure I'm disabling sync ...
5 years, 10 months ago (2015-02-18 18:58:02 UTC) #2
Bernhard Bauer
Oh, uh, is there a way we can not do that for supervised users? It's ...
5 years, 10 months ago (2015-02-18 21:12:44 UTC) #3
Mike Lerman
rpop@, the Sync PM, is aware of this work, but I can always CC her. ...
5 years, 10 months ago (2015-02-18 21:23:49 UTC) #4
Bernhard Bauer
True, on Canary, users are probably more resistant to breakage... I would probably still exempt ...
5 years, 10 months ago (2015-02-18 22:56:57 UTC) #5
Nicolas Zea
sync LGTM.
5 years, 10 months ago (2015-02-19 21:26:29 UTC) #6
Alexei Svitkine (slow)
lgtm % mine and others' comments https://codereview.chromium.org/933293005/diff/1/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/933293005/diff/1/chrome/browser/supervised_user/supervised_user_service.cc#newcode644 chrome/browser/supervised_user/supervised_user_service.cc:644: profile_sync_service_ = Initialize ...
5 years, 10 months ago (2015-02-19 22:04:08 UTC) #7
Mike Lerman
Okay - this CL now exempts Supervised Users from having Sync turned off. This required ...
5 years, 10 months ago (2015-02-20 16:38:02 UTC) #9
Bernhard Bauer
Thanks, LGTM!
5 years, 10 months ago (2015-02-20 16:45:27 UTC) #10
Nicolas Zea
still lgtm with a nit https://codereview.chromium.org/933293005/diff/20001/chrome/browser/sync/profile_sync_service_factory.cc File chrome/browser/sync/profile_sync_service_factory.cc (right): https://codereview.chromium.org/933293005/diff/20001/chrome/browser/sync/profile_sync_service_factory.cc#newcode58 chrome/browser/sync/profile_sync_service_factory.cc:58: !variations::GetVariationParamValue("LightSpeed", "DisableSync").empty()) nit: curly ...
5 years, 10 months ago (2015-02-20 18:23:26 UTC) #11
Mike Lerman
https://codereview.chromium.org/933293005/diff/20001/chrome/browser/sync/profile_sync_service_factory.cc File chrome/browser/sync/profile_sync_service_factory.cc (right): https://codereview.chromium.org/933293005/diff/20001/chrome/browser/sync/profile_sync_service_factory.cc#newcode58 chrome/browser/sync/profile_sync_service_factory.cc:58: !variations::GetVariationParamValue("LightSpeed", "DisableSync").empty()) On 2015/02/20 18:23:26, Nicolas Zea wrote: > ...
5 years, 10 months ago (2015-02-20 18:28:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933293005/60001
5 years, 10 months ago (2015-02-23 19:00:06 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-23 20:34:24 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 20:34:51 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4cda8457e67bfd338eb4cd82b94c48084f15685f
Cr-Commit-Position: refs/heads/master@{#317642}

Powered by Google App Engine
This is Rietveld 408576698