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

Issue 21140004: Refresh access tokens for TiclInvalidationService (Closed)

Created:
7 years, 4 months ago by rlarocque
Modified:
7 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Refresh access tokens for TiclInvalidationService The Google Talk server will reject connection attempts made with a stale access token. This is often not a problem because we only need to connect on startup, when the token is fresh. It becomes a problem if we temporarily lose the network connection and need to reconnect. This change updates the TiclInvalidationService so it requests an updated access token when it receives a credentials rejected error. This should allow it to recover from connection failures caused by stale access tokens. TEST=Manual. Sign in to sync, wait > 1 hour, disable network connection, then re-enable it. Verify notifier state is enabled. BUG=264455 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215094

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update comment #

Total comments: 3

Patch Set 3 : Address Fred's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M chrome/browser/invalidation/ticl_invalidation_service.cc View 1 2 1 chunk +17 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
rlarocque
Please review.
7 years, 4 months ago (2013-07-29 21:15:36 UTC) #1
tim (not reviewing)
LGTM with comment nit. https://codereview.chromium.org/21140004/diff/1/chrome/browser/invalidation/ticl_invalidation_service.cc File chrome/browser/invalidation/ticl_invalidation_service.cc (right): https://codereview.chromium.org/21140004/diff/1/chrome/browser/invalidation/ticl_invalidation_service.cc#newcode262 chrome/browser/invalidation/ticl_invalidation_service.cc:262: // This might not be ...
7 years, 4 months ago (2013-07-30 21:01:00 UTC) #2
rlarocque
+Fred to verify the accuracy of the new comment. I should also note that fetching ...
7 years, 4 months ago (2013-07-30 22:17:29 UTC) #3
akalin
lgtm https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc File chrome/browser/invalidation/ticl_invalidation_service.cc (right): https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc#newcode265 chrome/browser/invalidation/ticl_invalidation_service.cc:265: // it's safe to try to update the ...
7 years, 4 months ago (2013-07-31 22:37:45 UTC) #4
akalin
https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc File chrome/browser/invalidation/ticl_invalidation_service.cc (right): https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc#newcode265 chrome/browser/invalidation/ticl_invalidation_service.cc:265: // it's safe to try to update the token ...
7 years, 4 months ago (2013-07-31 22:42:45 UTC) #5
rlarocque
https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc File chrome/browser/invalidation/ticl_invalidation_service.cc (right): https://codereview.chromium.org/21140004/diff/10001/chrome/browser/invalidation/ticl_invalidation_service.cc#newcode265 chrome/browser/invalidation/ticl_invalidation_service.cc:265: // it's safe to try to update the token ...
7 years, 4 months ago (2013-07-31 23:00:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/21140004/16001
7 years, 4 months ago (2013-08-01 17:18:24 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 20:02:26 UTC) #8
Message was sent while issue was closed.
Change committed as 215094

Powered by Google App Engine
This is Rietveld 408576698