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

Issue 8295017: [Sync] Support open tabs experiment enabling before sync setup completion. (Closed)

Created:
9 years, 2 months ago by Nicolas Zea
Modified:
9 years, 2 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), idana
Visibility:
Public.

Description

[Sync] Support open tabs experiment enabling before sync setup completion. BUG=99403 TEST=sync_integration_tests, manually ensure on first time sync open tabs is an option in customize for an account with sync_tabs true. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105636

Patch Set 1 #

Total comments: 2

Patch Set 2 : Refactor #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -14 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 3 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 3 chunks +14 lines, -9 lines 7 comments Download

Messages

Total messages: 6 (0 generated)
Nicolas Zea
PTAL
9 years, 2 months ago (2011-10-14 22:18:15 UTC) #1
akalin
http://codereview.chromium.org/8295017/diff/1/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/8295017/diff/1/chrome/browser/sync/glue/sync_backend_host.cc#newcode823 chrome/browser/sync/glue/sync_backend_host.cc:823: if (sync_manager()->ReceivedExperimentalTypes(&to_add)) { hmm. Thinking about this, I think ...
9 years, 2 months ago (2011-10-14 23:18:48 UTC) #2
Nicolas Zea
Comment addressed. PTAL http://codereview.chromium.org/8295017/diff/1/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/8295017/diff/1/chrome/browser/sync/glue/sync_backend_host.cc#newcode823 chrome/browser/sync/glue/sync_backend_host.cc:823: if (sync_manager()->ReceivedExperimentalTypes(&to_add)) { On 2011/10/14 23:18:48, ...
9 years, 2 months ago (2011-10-15 00:31:35 UTC) #3
akalin
LGTM http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_sync_service.cc#newcode610 chrome/browser/sync/profile_sync_service.cc:610: if (migrator_.get() && can remove the _.get() check, ...
9 years, 2 months ago (2011-10-15 01:21:55 UTC) #4
Nicolas Zea
Committing once trybots go green. http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_sync_service.cc#newcode610 chrome/browser/sync/profile_sync_service.cc:610: if (migrator_.get() && On ...
9 years, 2 months ago (2011-10-15 02:06:27 UTC) #5
akalin
9 years, 2 months ago (2011-10-18 19:13:42 UTC) #6
Can you add the comment suggested below in a separate CL?

http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_...
File chrome/browser/sync/profile_sync_service.cc (right):

http://codereview.chromium.org/8295017/diff/1004/chrome/browser/sync/profile_...
chrome/browser/sync/profile_sync_service.cc:610: if (migrator_.get() &&
On 2011/10/15 02:06:27, nzea wrote:
> On 2011/10/15 01:21:55, akalin wrote:
> > can remove the _.get() check, or convert to CHECK
> This is getting called before the frontend is notified of the backend
> initializing (else the sync setup screen shows before we enable the type), so
> these conditions have to stay.

Can you add a comment here to that effect?

Powered by Google App Engine
This is Rietveld 408576698