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

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed)

Created:
5 years, 7 months ago by gogerald1
Modified:
3 years, 5 months ago
CC:
msarda
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor AO2TS to make it easier to componentize This cl is dedicated to refactor token service to make it easier to componentize. It introduces a new class OAuth2TokenServiceDelegate for each platform to implement it. OAuth2TokenService and its subclasses will call into platform specific delegate and the user can get that delegate through public interface GetDelegate() of OAuth2TokenService. BUG=490882 Committed: https://crrev.com/63376b55f05201ea493fe6c26d3b9a8f26bc2f16 Cr-Commit-Position: refs/heads/master@{#337248}

Patch Set 1 : Refactor AO2TS to make it easier to componentize. #

Total comments: 22

Patch Set 2 : #

Patch Set 3 : additional modifications for unit_tests #

Patch Set 4 : update for google_apis_unittests #

Total comments: 32

Patch Set 5 : address roger's comments #

Total comments: 20

Patch Set 6 : merge to latest trunk and address roger's comments #

Patch Set 7 : merge to latest trunk #

Patch Set 8 : merge to latest commit 86564e4e6cade752628276c0a0db3021976a4e20 #

Patch Set 9 : debug #

Patch Set 10 : works for all platform except ios #

Patch Set 11 : merge to 797e601a815d28264be2d65e068fafb0eb063195 #

Patch Set 12 : merge to 7aca81ccda2eb161987ccd5490a007008a613701 #

Patch Set 13 : merge #

Patch Set 14 : works for all platforms commit e75a498951318d4deb65d40ce8b2def44cd5abc0 #

Total comments: 27

Patch Set 15 : chromeos #

Patch Set 16 : address part of comments #

Patch Set 17 : #

Patch Set 18 : use add and remove func. in fake #

Patch Set 19 : debug #

Patch Set 20 : merge to latest trunk and address comments #

Patch Set 21 : debug #

Total comments: 25

Patch Set 22 : android debug #

Patch Set 23 : chromeos debug #

Patch Set 24 : address comments and merge to latest commit 084539cfa794dcf4edb7545d986ddf515b0a5466 #

Total comments: 1

Patch Set 25 : Address final comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1902 lines, -4770 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/android/signin/signin_manager_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/policy/consumer_enrollment_handler_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/upload_job_impl.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/upload_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +10 lines, -97 lines 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +26 lines, -288 lines 0 comments Download
A + chrome/browser/chromeos/settings/device_oauth2_token_service_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 9 chunks +40 lines, -57 lines 0 comments Download
A + chrome/browser/chromeos/settings/device_oauth2_token_service_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 13 chunks +62 lines, -143 lines 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/gcd_api_flow_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 2 3 4 5 6 7 chunks +7 lines, -7 lines 0 comments Download
D chrome/browser/signin/android_profile_oauth2_token_service.h View 1 chunk +0 lines, -131 lines 0 comments Download
D chrome/browser/signin/android_profile_oauth2_token_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -477 lines 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service.h View 1 2 3 4 5 6 7 5 chunks +4 lines, -51 lines 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -74 lines 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc View 1 2 3 4 5 6 1 chunk +0 lines, -11 lines 0 comments Download
A + chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h View 1 2 3 4 5 6 7 8 6 chunks +56 lines, -64 lines 0 comments Download
A + chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 18 chunks +160 lines, -172 lines 0 comments Download
A + chrome/browser/signin/mutable_profile_oauth2_token_service_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 15 chunks +117 lines, -148 lines 0 comments Download
A + chrome/browser/signin/oauth2_token_service_delegate_android.h View 1 2 3 4 5 6 7 5 chunks +23 lines, -23 lines 0 comments Download
A + chrome/browser/signin/oauth2_token_service_delegate_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 19 chunks +88 lines, -108 lines 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_factory.h View 1 2 3 4 2 chunks +0 lines, -24 lines 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -15 lines 0 comments Download
M chrome/browser/signin/signin_tracker_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/family_info_fetcher.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/child_accounts/family_info_fetcher_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/legacy/supervised_user_refresh_token_fetcher.cc View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/legacy/supervised_user_refresh_token_fetcher_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_auth_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_auth_provider_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/startup_controller_unittest.cc View 1 2 3 4 5 6 9 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/speech_auth_helper_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/wallet/real_pan_wallet_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +1 line, -4 lines 0 comments Download
M components/history/core/browser/web_history_service.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M components/invalidation/impl/gcm_invalidation_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/impl/ticl_invalidation_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -1 line 0 comments Download
M components/signin.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +2 lines, -11 lines 0 comments Download
M components/signin/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +0 lines, -9 lines 0 comments Download
D components/signin/core/browser/mutable_profile_oauth2_token_service.h View 1 2 3 4 5 1 chunk +0 lines, -160 lines 0 comments Download
D components/signin/core/browser/mutable_profile_oauth2_token_service.cc View 1 2 3 4 5 1 chunk +0 lines, -484 lines 0 comments Download
D components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -482 lines 0 comments Download
M components/signin/core/browser/profile_oauth2_token_service.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -48 lines 0 comments Download
M components/signin/core/browser/profile_oauth2_token_service.cc View 1 2 3 4 5 6 7 1 chunk +22 lines, -51 lines 0 comments Download
M components/signin/ios/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/ios/browser/profile_oauth2_token_service_ios.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -163 lines 0 comments Download
M components/signin/ios/browser/profile_oauth2_token_service_ios.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -499 lines 0 comments Download
A + components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +38 lines, -56 lines 0 comments Download
A + components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 21 chunks +55 lines, -84 lines 0 comments Download
A components/signin/ios/browser/profile_oauth2_token_service_ios_delegate_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +380 lines, -0 lines 0 comments Download
D components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -404 lines 0 comments Download
M extensions/browser/updater/extension_downloader.cc View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/shell/app_shell.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/shell/browser/api/identity/identity_api.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_oauth2_token_service.h View 1 2 3 4 5 1 chunk +1 line, -20 lines 0 comments Download
M extensions/shell/browser/shell_oauth2_token_service.cc View 1 2 3 4 5 3 chunks +7 lines, -24 lines 0 comments Download
A extensions/shell/browser/shell_oauth2_token_service_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +54 lines, -0 lines 0 comments Download
A extensions/shell/browser/shell_oauth2_token_service_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +59 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_oauth2_token_service_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M google_apis/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
M google_apis/gaia/fake_oauth2_token_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +6 lines, -27 lines 0 comments Download
M google_apis/gaia/fake_oauth2_token_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -27 lines 0 comments Download
A google_apis/gaia/fake_oauth2_token_service_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +51 lines, -0 lines 0 comments Download
A google_apis/gaia/fake_oauth2_token_service_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +93 lines, -0 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 14 15 16 17 18 19 20 21 22 10 chunks +35 lines, -54 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 14 15 16 17 18 19 13 chunks +51 lines, -79 lines 0 comments Download
A google_apis/gaia/oauth2_token_service_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +87 lines, -0 lines 0 comments Download
A google_apis/gaia/oauth2_token_service_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +100 lines, -0 lines 0 comments Download
M google_apis/gaia/oauth2_token_service_request.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gaia/oauth2_token_service_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -5 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 19 23 chunks +88 lines, -61 lines 0 comments Download
M google_apis/gaia/ubertoken_fetcher.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M google_apis/google_apis.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -3 lines 0 comments Download
M ios/public/provider/chrome/browser/keyed_service_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -6 lines 0 comments Download
M ios/public/test/test_keyed_service_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -2 lines 0 comments Download
M ios/public/test/test_keyed_service_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -3 lines 0 comments Download
M sync/internal_api/attachments/attachment_downloader_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -5 lines 0 comments Download
M sync/internal_api/attachments/attachment_uploader_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 140 (93 generated)
gogerald1
Hi Roger, This is the draft version of the work, I will keep working on ...
5 years, 7 months ago (2015-05-22 20:01:07 UTC) #3
Roger Tawa OOO till Jul 10th
Looking good Ganggui! Here are some initial comments, I can continue looking on Tuesday. https://codereview.chromium.org/1143323005/diff/20001/chrome/browser/signin/fake_profile_oauth2_token_service.cc ...
5 years, 7 months ago (2015-05-24 21:13:19 UTC) #4
gogerald1
Please ignore all modifications in the files with file "fake_*". Most of my modifications are ...
5 years, 7 months ago (2015-05-25 21:10:58 UTC) #6
gogerald1
Hi Roger, this update includes modifications for unit_tests, it passed all unit_tests and normal use ...
5 years, 7 months ago (2015-05-26 19:07:49 UTC) #7
gogerald1
update for google_apis_unittests,
5 years, 7 months ago (2015-05-26 22:58:25 UTC) #8
Roger Tawa OOO till Jul 10th
Thanks Ganggui, again looks great. Some more comments below to simply the O2TS classes, since ...
5 years, 6 months ago (2015-05-28 14:54:44 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/120001
5 years, 6 months ago (2015-06-02 22:07:27 UTC) #16
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 6 months ago (2015-06-02 22:07:34 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/140001
5 years, 6 months ago (2015-06-03 17:58:45 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/59123) ios_dbg_simulator_ninja on ...
5 years, 6 months ago (2015-06-03 18:06:48 UTC) #23
gogerald1
Address previous comments, please help review them, thanks. https://codereview.chromium.org/1143323005/diff/100001/chrome/browser/signin/fake_profile_oauth2_token_service.h File chrome/browser/signin/fake_profile_oauth2_token_service.h (right): https://codereview.chromium.org/1143323005/diff/100001/chrome/browser/signin/fake_profile_oauth2_token_service.h#newcode72 chrome/browser/signin/fake_profile_oauth2_token_service.h:72: void ...
5 years, 6 months ago (2015-06-03 18:12:59 UTC) #24
Roger Tawa OOO till Jul 10th
Looks great Ganagui, just a few more questions. IF you haven't already, sync up and ...
5 years, 6 months ago (2015-06-04 18:19:56 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/160001
5 years, 6 months ago (2015-06-08 15:12:22 UTC) #27
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 6 months ago (2015-06-08 15:12:30 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/200001
5 years, 6 months ago (2015-06-10 14:17:34 UTC) #33
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 6 months ago (2015-06-10 14:17:42 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/430001
5 years, 6 months ago (2015-06-15 22:59:53 UTC) #41
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 6 months ago (2015-06-15 23:00:03 UTC) #43
gogerald1
Hi, this review contains modifications for all platforms, please review it. https://codereview.chromium.org/1143323005/diff/140001/chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc File chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc (right): ...
5 years, 6 months ago (2015-06-25 14:06:19 UTC) #95
Roger Tawa OOO till Jul 10th
lgtm Thanks Ganggui for this CL! https://codereview.chromium.org/1143323005/diff/140001/extensions/shell/browser/shell_oauth2_token_service_delegate.cc File extensions/shell/browser/shell_oauth2_token_service_delegate.cc (right): https://codereview.chromium.org/1143323005/diff/140001/extensions/shell/browser/shell_oauth2_token_service_delegate.cc#newcode36 extensions/shell/browser/shell_oauth2_token_service_delegate.cc:36: DCHECK(!refresh_token_.empty()); On 2015/06/25 ...
5 years, 6 months ago (2015-06-26 14:58:51 UTC) #96
gogerald1
jcivelli@chromium.org: Please review changes in chrome/test/base/testing_profile.cc vitalybuka@chromium.org: Please review changes in chrome/browser/local_discovery/gcd_api_flow_unittest.cc pavely@chromium.org: Please review ...
5 years, 6 months ago (2015-06-26 17:14:40 UTC) #98
droger
msarda : can you take a look at iOS changes?
5 years, 6 months ago (2015-06-26 17:19:37 UTC) #99
Nicolas Zea
gcm and sync LGTM
5 years, 6 months ago (2015-06-26 18:09:36 UTC) #100
xiyuan
+mnissler fyi https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/chromeos/settings/device_oauth2_token_service.cc File chrome/browser/chromeos/settings/device_oauth2_token_service.cc (right): https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/chromeos/settings/device_oauth2_token_service.cc#newcode118 chrome/browser/chromeos/settings/device_oauth2_token_service.cc:118: (DeviceOAuth2TokenServiceDelegate*)GetDelegate(); nit: static_cast<DeviceOAuth2TokenServiceDelegate*>(GetDelegate()); https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/chromeos/settings/device_oauth2_token_service.h File chrome/browser/chromeos/settings/device_oauth2_token_service.h (right): ...
5 years, 6 months ago (2015-06-26 18:15:53 UTC) #101
pavely
chrome/browser/invalidation lgtm
5 years, 6 months ago (2015-06-26 18:30:38 UTC) #102
Vitaly Buka (NO REVIEWS)
chrome/browser/local_discovery lgtm
5 years, 6 months ago (2015-06-26 18:37:55 UTC) #103
Cait (Slow)
components/autofill/, components/history/, components/invalidation, components/proximity_auth/ LGTM
5 years, 6 months ago (2015-06-26 19:12:32 UTC) #104
Marc Treib
c/b/supervised_user/ LGTM
5 years, 5 months ago (2015-06-29 07:56:11 UTC) #105
Mattias Nissler (ping if slow)
https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/chromeos/settings/device_oauth2_token_service.cc File chrome/browser/chromeos/settings/device_oauth2_token_service.cc (right): https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/chromeos/settings/device_oauth2_token_service.cc#newcode46 chrome/browser/chromeos/settings/device_oauth2_token_service.cc:46: DeviceOAuth2TokenService::DeviceOAuth2TokenServiceDelegate:: It's pretty odd that the CL introduces a ...
5 years, 5 months ago (2015-06-29 08:20:07 UTC) #106
msarda
LGTM for the iOS code. This needs some casts on the iOS downstream code as ...
5 years, 5 months ago (2015-06-29 08:49:45 UTC) #108
Mattias Nissler (ping if slow)
https://codereview.chromium.org/1143323005/diff/1380001/google_apis/gaia/oauth2_token_service.h File google_apis/gaia/oauth2_token_service.h (right): https://codereview.chromium.org/1143323005/diff/1380001/google_apis/gaia/oauth2_token_service.h#newcode207 google_apis/gaia/oauth2_token_service.h:207: OAuth2TokenServiceDelegate* GetDelegate(); On 2015/06/29 08:49:44, msarda wrote: > On ...
5 years, 5 months ago (2015-06-29 09:01:29 UTC) #109
droger
ios/chrome and ios/public LGTM with nit: https://codereview.chromium.org/1143323005/diff/1380001/ios/public/provider/chrome/browser/keyed_service_provider.h File ios/public/provider/chrome/browser/keyed_service_provider.h (right): https://codereview.chromium.org/1143323005/diff/1380001/ios/public/provider/chrome/browser/keyed_service_provider.h#newcode63 ios/public/provider/chrome/browser/keyed_service_provider.h:63: virtual KeyedServiceBaseFactory* GetProfileOAuth2TokenServiceIOSFactory() ...
5 years, 5 months ago (2015-06-29 11:55:54 UTC) #110
Marijn Kruisselbrink
https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/extensions/updater/extension_updater_unittest.cc File chrome/browser/extensions/updater/extension_updater_unittest.cc (right): https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/extensions/updater/extension_updater_unittest.cc#newcode390 chrome/browser/extensions/updater/extension_updater_unittest.cc:390: fake_token_service_->GetDelegate()->UpdateCredentials(kFakeAccountId, Similar to some of the other comments it ...
5 years, 5 months ago (2015-06-29 17:21:39 UTC) #111
msw
c/b/ui lgtm with an optional nit. https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc File chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc (right): https://codereview.chromium.org/1143323005/diff/1380001/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc#newcode68 chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc:68: oauth2_token_service->RevokeCredentials(account_id); optional nit: ...
5 years, 5 months ago (2015-06-29 19:42:39 UTC) #112
Roger Tawa OOO till Jul 10th
Hi Mattias, Please see below. Thanks. https://codereview.chromium.org/1143323005/diff/1380001/google_apis/gaia/oauth2_token_service.h File google_apis/gaia/oauth2_token_service.h (right): https://codereview.chromium.org/1143323005/diff/1380001/google_apis/gaia/oauth2_token_service.h#newcode207 google_apis/gaia/oauth2_token_service.h:207: OAuth2TokenServiceDelegate* GetDelegate(); On ...
5 years, 5 months ago (2015-06-30 19:55:31 UTC) #119
Mattias Nissler (ping if slow)
Here's a reply to the discussion regarding GetDelegate() being public. I will take a closer ...
5 years, 5 months ago (2015-06-30 20:42:52 UTC) #120
Mattias Nissler (ping if slow)
DeviceOAuth2TokenService looks much nicer now, thanks for cleaning that up! I think the structure is ...
5 years, 5 months ago (2015-07-01 12:34:14 UTC) #121
gogerald1
Address previous comments, mnissler@chromium.org: Please review changes in ChromeOS. phajdan.jr@chromium.org: Please review changes in chrome/test/base/testing_profile.cc ...
5 years, 5 months ago (2015-07-01 17:58:42 UTC) #127
Mattias Nissler (ping if slow)
policy and device_oauth2_token_service stuff LGTM. Decision on whether to make the helper or not is ...
5 years, 5 months ago (2015-07-01 18:50:04 UTC) #128
Marijn Kruisselbrink
extensions changes lgtm
5 years, 5 months ago (2015-07-01 21:12:54 UTC) #129
Roger Tawa OOO till Jul 10th
On 2015/06/30 20:42:52, Mattias Nissler wrote: > Here's a reply to the discussion regarding GetDelegate() ...
5 years, 5 months ago (2015-07-02 14:01:04 UTC) #130
gogerald1
Hi, nyquist@ please help review changes in chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java chrome/browser/android/chrome_jni_registrar.cc chrome/browser/android/signin/signin_manager_android.cc
5 years, 5 months ago (2015-07-02 14:16:27 UTC) #132
Paweł Hajdan Jr.
chrome/test LGTM
5 years, 5 months ago (2015-07-02 15:34:56 UTC) #133
nyquist
chrome/android/java and chrome/browser/android lgtm However, I think it would be beneficial to update the commit ...
5 years, 5 months ago (2015-07-02 18:33:08 UTC) #134
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143323005/1800001
5 years, 5 months ago (2015-07-02 19:57:45 UTC) #137
commit-bot: I haz the power
Committed patchset #25 (id:1800001)
5 years, 5 months ago (2015-07-02 20:04:06 UTC) #138
commit-bot: I haz the power
5 years, 5 months ago (2015-07-02 20:05:01 UTC) #139
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/63376b55f05201ea493fe6c26d3b9a8f26bc2f16
Cr-Commit-Position: refs/heads/master@{#337248}

Powered by Google App Engine
This is Rietveld 408576698