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

Issue 8760019: Make the change in ProfileSyncService such that it declares success (Closed)

Created:
9 years ago by Munjal (Google)
Modified:
9 years ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

Make the change in ProfileSyncService such that it declares success for new users only when the oauth login token is successfully generated. Make sure for existing logged in users, it continues to setup sync properly on startup. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112714

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -28 lines) Patch
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 4 chunks +59 lines, -16 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 4 5 6 5 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Munjal (Google)
Hey Tim/Lingesh/Rick, Can you give your opinion on this approach of making PSS check OAuth2 ...
9 years ago (2011-12-01 01:56:44 UTC) #1
Munjal (Google)
9 years ago (2011-12-01 02:33:45 UTC) #2
Rick Campbell
LGTM
9 years ago (2011-12-01 18:43:47 UTC) #3
Andrew T Wilson (Slow)
LGTM after resolving my comments below. http://codereview.chromium.org/8760019/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8760019/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1453 chrome/browser/sync/profile_sync_service.cc:1453: case chrome::NOTIFICATION_TOKEN_REQUEST_FAILED: { ...
9 years ago (2011-12-01 22:07:01 UTC) #4
Munjal (Google)
http://codereview.chromium.org/8760019/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8760019/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1453 chrome/browser/sync/profile_sync_service.cc:1453: case chrome::NOTIFICATION_TOKEN_REQUEST_FAILED: { On 2011/12/01 22:07:01, Andrew T Wilson ...
9 years ago (2011-12-01 22:52:58 UTC) #5
Andrew T Wilson (Slow)
LGTM still with changes below. http://codereview.chromium.org/8760019/diff/5003/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8760019/diff/5003/chrome/browser/sync/profile_sync_service.cc#newcode1468 chrome/browser/sync/profile_sync_service.cc:1468: TokenService::TokenRequestFailedDetails token_details = I'd ...
9 years ago (2011-12-02 00:52:35 UTC) #6
Munjal (Google)
Note that I needed a fix for unit tests also. Did that. http://codereview.chromium.org/8760019/diff/5003/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc ...
9 years ago (2011-12-02 02:14:01 UTC) #7
Andrew T Wilson (Slow)
9 years ago (2011-12-02 02:34:58 UTC) #8
Still LGTM.

Powered by Google App Engine
This is Rietveld 408576698