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

Issue 182573003: Extract OAuth2AccessTokenFetcher interface. (Closed)

Created:
6 years, 9 months ago by msarda
Modified:
6 years, 9 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Extract OAuth2AccessTokenFetcher interface. This CL extracts the interface of OAuth2AccessTokenFetcher as the implementation for mobile is different . It renames the existing OAuth2AccessTokenFetcher to OAuth2AccessTokenFetcherImpl. TBR=davemoore@chromium.org BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254966

Patch Set 1 #

Patch Set 2 : Move unit test #

Patch Set 3 : More fixes #

Patch Set 4 : Fix google_apis #

Patch Set 5 : Fix google_apis #

Patch Set 6 : Fix compile errors in chrome #

Total comments: 16

Patch Set 7 : Rebase, fix nits and compile errors #

Patch Set 8 : Address code review #

Patch Set 9 : Fix nits #

Total comments: 2

Patch Set 10 : Minor nit #

Patch Set 11 : Add missing file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -829 lines) Patch
M chrome/browser/chromeos/login/oauth2_login_verifier.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M google_apis/gaia/merge_session_helper.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
D google_apis/gaia/oauth2_access_token_fetcher.h View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -79 lines 0 comments Download
D google_apis/gaia/oauth2_access_token_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -301 lines 0 comments Download
A + google_apis/gaia/oauth2_access_token_fetcher_impl.h View 1 2 3 4 5 6 7 5 chunks +23 lines, -29 lines 0 comments Download
A + google_apis/gaia/oauth2_access_token_fetcher_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +76 lines, -84 lines 0 comments Download
A + google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 11 chunks +75 lines, -65 lines 0 comments Download
M google_apis/gaia/oauth2_access_token_fetcher_unittest.cc View 1 1 chunk +0 lines, -258 lines 0 comments Download
M google_apis/gaia/oauth2_api_call_flow.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/oauth2_api_call_flow.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M google_apis/gaia/oauth2_api_call_flow_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_mint_token_flow.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/oauth2_token_service.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M google_apis/gaia/oauth2_token_service_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M google_apis/google_apis.gyp View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
msarda
6 years, 9 months ago (2014-02-28 20:21:24 UTC) #1
msarda
A part of the code style changes in the moved files come from running "git ...
6 years, 9 months ago (2014-02-28 20:23:46 UTC) #2
Joao da Silva
policy changes lgtm https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc File google_apis/gaia/oauth2_access_token_fetcher_impl.cc (right): https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc#newcode274 google_apis/gaia/oauth2_access_token_fetcher_impl.cc:274: scoped_ptr<base::DictionaryValue> ParseGetAccessTokenResponse( Seems like this should ...
6 years, 9 months ago (2014-03-03 20:58:19 UTC) #3
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.h File google_apis/gaia/oauth2_access_token_fetcher_impl.h (right): https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.h#newcode59 google_apis/gaia/oauth2_access_token_fetcher_impl.h:59: OAuth2AccessTokenConsumer* consumer) OVERRIDE; Why move |consumer| from ctor to ...
6 years, 9 months ago (2014-03-03 21:24:44 UTC) #4
msarda
https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc File google_apis/gaia/oauth2_access_token_fetcher_impl.cc (right): https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc#newcode274 google_apis/gaia/oauth2_access_token_fetcher_impl.cc:274: scoped_ptr<base::DictionaryValue> ParseGetAccessTokenResponse( On 2014/03/03 20:58:19, Joao da Silva wrote: ...
6 years, 9 months ago (2014-03-04 12:37:13 UTC) #5
Roger Tawa OOO till Jul 10th
Thanks Mihai. A couple of comments below. https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc File google_apis/gaia/oauth2_access_token_fetcher_impl.cc (right): https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc#newcode274 google_apis/gaia/oauth2_access_token_fetcher_impl.cc:274: scoped_ptr<base::DictionaryValue> ParseGetAccessTokenResponse( ...
6 years, 9 months ago (2014-03-04 15:20:01 UTC) #6
msarda
https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc File google_apis/gaia/oauth2_access_token_fetcher_impl.cc (right): https://codereview.chromium.org/182573003/diff/90001/google_apis/gaia/oauth2_access_token_fetcher_impl.cc#newcode274 google_apis/gaia/oauth2_access_token_fetcher_impl.cc:274: scoped_ptr<base::DictionaryValue> ParseGetAccessTokenResponse( On 2014/03/04 15:20:02, Roger Tawa wrote: > ...
6 years, 9 months ago (2014-03-04 16:13:53 UTC) #7
Roger Tawa OOO till Jul 10th
lgtm Thanks Mihai. https://codereview.chromium.org/182573003/diff/150001/google_apis/gaia/oauth2_access_token_fetcher.h File google_apis/gaia/oauth2_access_token_fetcher.h (right): https://codereview.chromium.org/182573003/diff/150001/google_apis/gaia/oauth2_access_token_fetcher.h#newcode54 google_apis/gaia/oauth2_access_token_fetcher.h:54: OAuth2AccessTokenConsumer* consumer_; Can probably keep the ...
6 years, 9 months ago (2014-03-04 16:46:53 UTC) #8
msarda
The CQ bit was checked by msarda@chromium.org
6 years, 9 months ago (2014-03-04 16:49:40 UTC) #9
msarda
https://codereview.chromium.org/182573003/diff/150001/google_apis/gaia/oauth2_access_token_fetcher.h File google_apis/gaia/oauth2_access_token_fetcher.h (right): https://codereview.chromium.org/182573003/diff/150001/google_apis/gaia/oauth2_access_token_fetcher.h#newcode54 google_apis/gaia/oauth2_access_token_fetcher.h:54: OAuth2AccessTokenConsumer* consumer_; On 2014/03/04 16:46:54, Roger Tawa wrote: > ...
6 years, 9 months ago (2014-03-04 16:49:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/182573003/170001
6 years, 9 months ago (2014-03-04 16:51:13 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 17:23:57 UTC) #12
commit-bot: I haz the power
Retried try job too often on ios_rel_device_ninja for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device_ninja&number=4758
6 years, 9 months ago (2014-03-04 17:23:57 UTC) #13
msarda
The CQ bit was checked by msarda@chromium.org
6 years, 9 months ago (2014-03-04 18:17:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/182573003/190001
6 years, 9 months ago (2014-03-04 18:19:28 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 18:41:58 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274144
6 years, 9 months ago (2014-03-04 18:41:58 UTC) #17
msarda
The CQ bit was checked by msarda@chromium.org
6 years, 9 months ago (2014-03-04 19:22:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/182573003/190001
6 years, 9 months ago (2014-03-04 19:25:10 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 23:52:42 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 9 months ago (2014-03-04 23:52:43 UTC) #21
msarda
The CQ bit was checked by msarda@chromium.org
6 years, 9 months ago (2014-03-05 06:56:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/182573003/190001
6 years, 9 months ago (2014-03-05 06:57:24 UTC) #23
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 06:59:39 UTC) #24
Message was sent while issue was closed.
Change committed as 254966

Powered by Google App Engine
This is Rietveld 408576698