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

Issue 11618024: [signin] Support for CrOS and OAuth2AccessTokenConsumer services. (Closed)

Created:
8 years ago by vishwath
Modified:
7 years, 4 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, Raghu Simha, achuith+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, haitaol1, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support for CrOS and OAuth2AccessTokenConsumer services for the about:signin-internals diagnostic page. This CL contains the following changes -> 1. Added support for ChromeOS based signin. AboutSigninInternals registers itself as an Observer with OnlineAttempt (in ChromeOS builds only), and receives signin information from it. 2. Shows if login used 2-factor authentication. 3. Token information for OAuth2AccessTokenConsumers has been added. Note that these are not needed once these services are migrated to use OAuth2TokenService instead. 4. Information from sync_global_error updates chromiumsync service status. BUG=114613

Patch Set 1 : #

Patch Set 2 : oauth_access_token_ is now correctly set #

Total comments: 5

Patch Set 3 : Minor fixes #

Patch Set 4 : Incorporated feedback #

Patch Set 5 : OnlineAttempt (CrOS) correctly imports UserManager #

Total comments: 2

Patch Set 6 : Minor fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -17 lines) Patch
M chrome/browser/chrome_to_mobile_service.cc View 3 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/online_attempt.h View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/online_attempt.cc View 1 2 3 4 8 chunks +51 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.cc View 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/auth_service.cc View 1 2 3 4 5 7 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/policy/user_policy_signin_service.cc View 1 2 3 4 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_downloader.cc View 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_internals_util.h View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/signin/signin_internals_util.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_global_error.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_global_error.cc View 4 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
vishwath
This CL contains mostly small changes spread out over multiple files, in relation to crbug.com/114613. ...
8 years ago (2012-12-19 23:10:37 UTC) #1
miket_OOO
Who should look at what? http://en.wikipedia.org/wiki/Bystander_effect
8 years ago (2012-12-19 23:25:16 UTC) #2
vishwath
Sorry, I should have been clearer. Next to each of your names is a directory ...
8 years ago (2012-12-19 23:27:14 UTC) #3
vishwath
+mnissler: Could you please review the files from chrome/browser/policy/ in lieu of bartfab (whom I ...
8 years ago (2012-12-19 23:31:56 UTC) #4
miket_OOO
> Sorry, I should have been clearer. Next to each of your names is a ...
8 years ago (2012-12-19 23:39:25 UTC) #5
miket_OOO
chrome/browser/extensions LGTM
8 years ago (2012-12-19 23:42:54 UTC) #6
vishwath
Ah, that makes sense. Maybe it would help to publish with an empty message first ...
8 years ago (2012-12-19 23:43:35 UTC) #7
vishwath
mnissler: oauth_access_token_ was incorrectly not being set in OnGetTokenSuccess(), I've uploaded a patch that fixes ...
8 years ago (2012-12-20 01:21:11 UTC) #8
kochi
chrome/browser/google_apis LGTM with a nit. https://chromiumcodereview.appspot.com/11618024/diff/6007/chrome/browser/google_apis/DEPS File chrome/browser/google_apis/DEPS (right): https://chromiumcodereview.appspot.com/11618024/diff/6007/chrome/browser/google_apis/DEPS#newcode6 chrome/browser/google_apis/DEPS:6: "+chrome/browser/profiles", Please order alphabetically.
8 years ago (2012-12-20 06:37:24 UTC) #9
Mattias Nissler (ping if slow)
LGTM with nits for chrome/browser/policy, adding Drew FYI who wrote the code. https://codereview.chromium.org/11618024/diff/6007/chrome/browser/policy/user_policy_signin_service.cc File chrome/browser/policy/user_policy_signin_service.cc ...
8 years ago (2012-12-20 09:16:10 UTC) #10
Andrew T Wilson (Slow)
LGTM with one nit. https://codereview.chromium.org/11618024/diff/6007/chrome/browser/policy/user_policy_signin_service.cc File chrome/browser/policy/user_policy_signin_service.cc (right): https://codereview.chromium.org/11618024/diff/6007/chrome/browser/policy/user_policy_signin_service.cc#newcode316 chrome/browser/policy/user_policy_signin_service.cc:316: // OAuth2TokenService instead. Remove this ...
8 years ago (2012-12-21 11:42:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vishwath@google.com/11618024/14001
8 years ago (2012-12-21 20:56:10 UTC) #12
commit-bot: I haz the power
Presubmit check for 11618024-14001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-21 20:56:16 UTC) #13
DaveMoore
login / profile* lgtm
8 years ago (2012-12-21 21:26:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vishwath@google.com/11618024/14001
8 years ago (2012-12-21 21:28:08 UTC) #15
commit-bot: I haz the power
Presubmit check for 11618024-14001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-21 21:28:19 UTC) #16
tim (not reviewing)
On 2012/12/21 21:28:19, I haz the power (commit-bot) wrote: > Presubmit check for 11618024-14001 failed ...
8 years ago (2012-12-21 21:32:35 UTC) #17
vishwath
+jhawkins James: My commit fails saying there's no OWNER for chrome/. But my CL doesn't ...
8 years ago (2012-12-21 21:38:53 UTC) #18
James Hawkins
LGTM with nits. https://codereview.chromium.org/11618024/diff/14001/chrome/browser/google_apis/auth_service.cc File chrome/browser/google_apis/auth_service.cc (right): https://codereview.chromium.org/11618024/diff/14001/chrome/browser/google_apis/auth_service.cc#newcode78 chrome/browser/google_apis/auth_service.cc:78: // needs a profile var. Remove ...
8 years ago (2012-12-21 23:31:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vishwath@google.com/11618024/20002
8 years ago (2012-12-21 23:54:50 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-22 03:27:43 UTC) #21
Andrew T Wilson (Slow)
7 years, 4 months ago (2013-08-21 10:11:20 UTC) #22
Message was sent while issue was closed.
closing this issue since it's undoubtedly bitrotted over the last 8 months.

Powered by Google App Engine
This is Rietveld 408576698