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

Issue 22581003: Handling of multiple concurrent requests from different clients in OAuth2TokenService (Closed)

Created:
7 years, 4 months ago by zel
Modified:
7 years, 3 months ago
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org, Michael Courage, fgorski
Visibility:
Public.

Description

Handling of multiple concurrent requests from different clients in OAuth2TokenService BUG=268937 TEST=OAuth2TokenServiceTest.SameScopesRequestedForDifferentClients TBR=tim (for chrome/browser/sync) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221303 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221572

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : rebase #

Patch Set 12 : #

Patch Set 13 : rebase #

Patch Set 14 : #

Total comments: 1

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : fixes for bustes tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -85 lines) Patch
M chrome/browser/signin/profile_oauth2_token_service.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M google_apis/gaia/oauth2_token_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +56 lines, -19 lines 0 comments Download
M google_apis/gaia/oauth2_token_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 23 chunks +134 lines, -48 lines 0 comments Download
M google_apis/gaia/oauth2_token_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 chunks +118 lines, -14 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
zel
7 years, 4 months ago (2013-08-07 19:09:47 UTC) #1
(NOT FOR CODE REVIEWS)
Some comments below. Michael, Filip: Zel is adding client_id support to O2TS. I think this ...
7 years, 4 months ago (2013-08-07 19:56:49 UTC) #2
Michael Courage
Yes, this gets us closer to being able to use the service for identity API ...
7 years, 4 months ago (2013-08-07 21:07:30 UTC) #3
fgorski
I second Michael, the method that Zel wants to make ChromeOS only is not immediately ...
7 years, 4 months ago (2013-08-07 21:36:59 UTC) #4
zel
https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service.cc#newcode81 chrome/browser/signin/oauth2_token_service.cc:81: const std::string& chrome_client_secret, On 2013/08/07 19:56:49, Roger Tawa (Google) ...
7 years, 4 months ago (2013-08-08 01:34:24 UTC) #5
Roger Tawa OOO till Jul 10th
Looks great Zel, thanks for adding the request_id support! Michael, Filip: does this work for ...
7 years, 4 months ago (2013-08-08 17:12:58 UTC) #6
fgorski
Zel, I am fairly new to c++ and STL, but are you sure that the ...
7 years, 4 months ago (2013-08-08 17:25:33 UTC) #7
zel
https://codereview.chromium.org/22581003/diff/22001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/22001/chrome/browser/signin/oauth2_token_service.cc#newcode60 chrome/browser/signin/oauth2_token_service.cc:60: const FetchParameters& params) const { On 2013/08/08 17:25:33, Filip ...
7 years, 4 months ago (2013-08-08 18:31:20 UTC) #8
zel
https://codereview.chromium.org/22581003/diff/22001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/22001/chrome/browser/signin/oauth2_token_service.cc#newcode35 chrome/browser/signin/oauth2_token_service.cc:35: const ClientScopeSet& set) const { On 2013/08/08 17:25:33, Filip ...
7 years, 4 months ago (2013-08-08 19:15:17 UTC) #9
zel
https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service_unittest.cc File chrome/browser/signin/oauth2_token_service_unittest.cc (right): https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service_unittest.cc#newcode562 chrome/browser/signin/oauth2_token_service_unittest.cc:562: EXPECT_FALSE(factory_.GetFetcherByID(2)); On 2013/08/07 19:56:49, Roger Tawa (Google) wrote: > ...
7 years, 4 months ago (2013-08-08 20:56:20 UTC) #10
Roger Tawa OOO till Jul 10th
Sorry Zel, I was not very clear. See below for more details of what I ...
7 years, 4 months ago (2013-08-09 14:22:14 UTC) #11
zel
https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service_unittest.cc File chrome/browser/signin/oauth2_token_service_unittest.cc (right): https://codereview.chromium.org/22581003/diff/3001/chrome/browser/signin/oauth2_token_service_unittest.cc#newcode562 chrome/browser/signin/oauth2_token_service_unittest.cc:562: EXPECT_FALSE(factory_.GetFetcherByID(2)); On 2013/08/09 14:22:14, Roger Tawa wrote: > On ...
7 years, 4 months ago (2013-08-15 01:26:42 UTC) #12
Roger Tawa OOO till Jul 10th
lgtm Thanks Zel for putting up with my comments and addressing them. I still think ...
7 years, 4 months ago (2013-08-16 21:16:50 UTC) #13
Andrew T Wilson (Slow)
https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc#newcode34 chrome/browser/signin/oauth2_token_service.cc:34: (!(s.request_origin < request_origin) && (client_id < s.client_id))) || I ...
7 years, 4 months ago (2013-08-19 14:04:18 UTC) #14
zel
https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc#newcode34 chrome/browser/signin/oauth2_token_service.cc:34: (!(s.request_origin < request_origin) && (client_id < s.client_id))) || On ...
7 years, 4 months ago (2013-08-19 16:03:16 UTC) #15
fgorski
https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc#newcode34 chrome/browser/signin/oauth2_token_service.cc:34: (!(s.request_origin < request_origin) && (client_id < s.client_id))) || On ...
7 years, 4 months ago (2013-08-19 16:16:05 UTC) #16
zel
https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/22581003/diff/57001/chrome/browser/signin/oauth2_token_service.cc#newcode34 chrome/browser/signin/oauth2_token_service.cc:34: (!(s.request_origin < request_origin) && (client_id < s.client_id))) || On ...
7 years, 4 months ago (2013-08-19 16:25:48 UTC) #17
Michael Courage
lgtm
7 years, 4 months ago (2013-08-19 19:02:45 UTC) #18
wtc
Patch set 10 LGTM. I only reviewed the two files in net.
7 years, 4 months ago (2013-08-20 20:51:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/90001
7 years, 4 months ago (2013-08-20 21:22:10 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=21587
7 years, 4 months ago (2013-08-21 03:48:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/90001
7 years, 4 months ago (2013-08-21 05:17:06 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-21 06:42:00 UTC) #23
Andrew T Wilson (Slow)
Still not understanding why we want to silo requests on request_id as opposed to merely ...
7 years, 4 months ago (2013-08-21 09:26:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/118001
7 years, 3 months ago (2013-08-27 01:29:05 UTC) #25
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-08-27 02:55:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/151001
7 years, 3 months ago (2013-08-28 17:14:34 UTC) #27
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=72583
7 years, 3 months ago (2013-08-28 20:58:24 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/151001
7 years, 3 months ago (2013-08-29 17:38:15 UTC) #29
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=163705
7 years, 3 months ago (2013-08-29 18:22:23 UTC) #30
fgorski
Zel, I found out why the CQ is failing (at least one of the reasons) ...
7 years, 3 months ago (2013-08-29 23:37:43 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/202001
7 years, 3 months ago (2013-08-31 01:32:38 UTC) #32
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-08-31 02:10:18 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/186001
7 years, 3 months ago (2013-09-04 18:57:33 UTC) #34
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=165605
7 years, 3 months ago (2013-09-04 20:02:37 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/179001
7 years, 3 months ago (2013-09-04 21:09:06 UTC) #36
commit-bot: I haz the power
Change committed as 221303
7 years, 3 months ago (2013-09-04 23:53:28 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/22581003/273001
7 years, 3 months ago (2013-09-05 16:57:38 UTC) #38
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 05:08:14 UTC) #39
Message was sent while issue was closed.
Change committed as 221572

Powered by Google App Engine
This is Rietveld 408576698