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

Issue 22872002: Start using OAuth2 for sync cacheinvalidation. (Closed)

Created:
7 years, 4 months ago by nyquist
Modified:
7 years, 3 months ago
Reviewers:
shashi, ghc
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@sync_oauth2_scope
Visibility:
Public.

Description

Start using OAuth2 for sync cacheinvalidation. Currently our cacheinvalidation implementation still uses clientlogin. This changes our implementation to instead use OAuth2. This requires the roll to r313 of the cacheinvalidation library. BUG=264503 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222262

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java View 1 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
nyquist
ghc: PTAL
7 years, 4 months ago (2013-08-12 16:33:45 UTC) #1
pavely
On 2013/08/12 16:33:45, nyquist wrote: > ghc: PTAL Tommy, On desktop invalidation service to connect ...
7 years, 4 months ago (2013-08-12 18:06:42 UTC) #2
nyquist
From before at least, we used the 'chromiumsync' scope, and not Google Talk. The XMPP ...
7 years, 4 months ago (2013-08-12 18:11:16 UTC) #3
ghc
https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java File sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java (right): https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java#newcode440 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java:440: return "oauth2:" + SyncStatusHelper.CHROME_SYNC_OAUTH2_SCOPE; I don't see this constant ...
7 years, 4 months ago (2013-08-12 18:25:48 UTC) #4
nyquist
https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java File sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java (right): https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java#newcode440 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java:440: return "oauth2:" + SyncStatusHelper.CHROME_SYNC_OAUTH2_SCOPE; On 2013/08/12 18:25:48, ghc wrote: ...
7 years, 4 months ago (2013-08-12 18:30:56 UTC) #5
ghc
https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java File sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java (right): https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java#newcode440 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java:440: return "oauth2:" + SyncStatusHelper.CHROME_SYNC_OAUTH2_SCOPE; On 2013/08/12 18:30:57, nyquist wrote: ...
7 years, 4 months ago (2013-08-12 18:50:27 UTC) #6
pavely
On 2013/08/12 18:11:16, nyquist wrote: > From before at least, we used the 'chromiumsync' scope, ...
7 years, 4 months ago (2013-08-12 18:58:39 UTC) #7
nyquist
PTAL Roll to cacheinvalidation r313 is here: https://codereview.chromium.org/23603003/ https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java File sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java (right): https://codereview.chromium.org/22872002/diff/1/sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java#newcode440 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java:440: return ...
7 years, 3 months ago (2013-09-05 23:15:35 UTC) #8
ghc
LGTM but I don't know this code very well. Have you tested that this works ...
7 years, 3 months ago (2013-09-06 00:50:41 UTC) #9
nyquist
Yeah, I've tried it locally.
7 years, 3 months ago (2013-09-09 23:53:13 UTC) #10
nyquist
Retried after the roll of cacheinvalidation and rebase, and still works. Also verified manually that ...
7 years, 3 months ago (2013-09-10 00:07:11 UTC) #11
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 3 months ago (2013-09-10 00:11:56 UTC) #12
nyquist
7 years, 3 months ago (2013-09-10 00:44:18 UTC) #13
shashi
lgtm. I guess SyncStatusHelper.AUTH_TOKEN_TYPE_SYNC can now be removed after tests are migrated to use the ...
7 years, 3 months ago (2013-09-10 00:57:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 01:03:32 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-10 01:41:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 02:06:55 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-10 02:17:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 02:24:44 UTC) #19
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-10 02:34:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 03:43:16 UTC) #21
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-10 03:51:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 05:59:43 UTC) #23
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=167245
7 years, 3 months ago (2013-09-10 08:03:44 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 08:08:35 UTC) #25
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=167325
7 years, 3 months ago (2013-09-10 10:04:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/22872002/11001
7 years, 3 months ago (2013-09-10 15:23:31 UTC) #27
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 16:01:23 UTC) #28
Message was sent while issue was closed.
Change committed as 222262

Powered by Google App Engine
This is Rietveld 408576698