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

Issue 1044933002: GaiaCookieServiceManager handles general request types (Closed)

Created:
5 years, 8 months ago by Mike Lerman
Modified:
5 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GaiaCookieServiceManager handles general request types. This is a prerequisite to the GCMS being able to handle ListAccounts requests as part if its queue. Remove the unused single-account LogOut() method, and rework LogOutInternal() method. Still to do, in future CLs: - Make the GaiaCookieManagerService independently check for freshness of ExternalCCConnections before executing any MergeSession (every 3 hours?) - Move all /ListAccounts calls into the GaiaCookieManagerService, and have it publish to all observers when that fails/succeeds - Move all logic that listens to cookie changes into GCMS, publish a notification when change happens - Rename the MergeSessionComplete method of the signin_tracker - Add retry (and backoff) logic for AddAccount calls - Remove CrOS's direct calls to gaia_auth_fetcher->StartMergeSession BUG=466799 Committed: https://crrev.com/c9f6f551ae9086ce65fb1ad04cc030c2e540e6ba Cr-Commit-Position: refs/heads/master@{#324218}

Patch Set 1 #

Total comments: 24

Patch Set 2 : More unit tests; Reviewed LogOutInternal; other rogerta comments. #

Total comments: 2

Patch Set 3 : Speling #

Patch Set 4 : Rebase (and fixes) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -158 lines) Patch
M components/signin/core/browser/gaia_cookie_manager_service.h View 1 2 3 7 chunks +54 lines, -20 lines 0 comments Download
M components/signin/core/browser/gaia_cookie_manager_service.cc View 1 2 3 10 chunks +150 lines, -82 lines 0 comments Download
M components/signin/core/browser/gaia_cookie_manager_service_unittest.cc View 1 2 3 14 chunks +119 lines, -56 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
Mike Lerman
Hi Roger, Smaller CL this time :) This paves the way for moving ListAccounts to ...
5 years, 8 months ago (2015-03-30 15:16:37 UTC) #2
Roger Tawa OOO till Jul 10th
Smaller CL, but possible more comments :-) Please see below. https://codereview.chromium.org/1044933002/diff/1/components/signin/core/browser/gaia_cookie_manager_service.cc File components/signin/core/browser/gaia_cookie_manager_service.cc (right): https://codereview.chromium.org/1044933002/diff/1/components/signin/core/browser/gaia_cookie_manager_service.cc#newcode250 ...
5 years, 8 months ago (2015-03-30 18:57:23 UTC) #3
Mike Lerman
Hi Roger, Tests written, comments addressed :) https://codereview.chromium.org/1044933002/diff/1/components/signin/core/browser/gaia_cookie_manager_service.cc File components/signin/core/browser/gaia_cookie_manager_service.cc (right): https://codereview.chromium.org/1044933002/diff/1/components/signin/core/browser/gaia_cookie_manager_service.cc#newcode250 components/signin/core/browser/gaia_cookie_manager_service.cc:250: const ListAccountsCallback& ...
5 years, 8 months ago (2015-04-01 16:39:35 UTC) #4
Roger Tawa OOO till Jul 10th
lgtm Thanks for the clarification Mike, I did misunderstand some of the code. https://codereview.chromium.org/1044933002/diff/20001/components/signin/core/browser/gaia_cookie_manager_service.cc File ...
5 years, 8 months ago (2015-04-01 16:50:38 UTC) #5
Mike Lerman
Thanks Roger. I'm going to wait until after branch point to land this. https://codereview.chromium.org/1044933002/diff/20001/components/signin/core/browser/gaia_cookie_manager_service.cc File ...
5 years, 8 months ago (2015-04-02 12:43:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1044933002/40001
5 years, 8 months ago (2015-04-07 12:31:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/12370) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 8 months ago (2015-04-07 12:34:59 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1044933002/60001
5 years, 8 months ago (2015-04-07 20:49:18 UTC) #14
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-07 21:44:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1044933002/60001
5 years, 8 months ago (2015-04-08 12:27:18 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-08 12:28:18 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 12:29:08 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c9f6f551ae9086ce65fb1ad04cc030c2e540e6ba
Cr-Commit-Position: refs/heads/master@{#324218}

Powered by Google App Engine
This is Rietveld 408576698