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

Issue 2834042: Add IssueAuthToken and unit tests to GaiaAuthenticator2. (Closed)

Created:
10 years, 5 months ago by chron_chromium.org
Modified:
9 years, 7 months ago
CC:
Chris Masone, chromium-reviews, cbentzel+watch_chromium.org, nkostylev+cc_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., davemoore+watch_chromium.org
Visibility:
Public.

Description

Add IssueAuthToken and unit tests to GaiaAuthenticator2. GaiaAuthConsumer pure virtuals now optional since you can choose to not listen to ClientLogin subscriptions. Renamed ClientLoginError to a general GaiaAuthError. BUG=47093 TEST=Unit tests included Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51678

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -87 lines) Patch
M chrome/browser/chromeos/login/google_authenticator.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/google_authenticator_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/net/gaia/gaia_auth_consumer.h View 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/common/net/gaia/gaia_authenticator2.h View 5 chunks +43 lines, -11 lines 0 comments Download
M chrome/common/net/gaia/gaia_authenticator2.cc View 9 chunks +92 lines, -38 lines 1 comment Download
M chrome/common/net/gaia/gaia_authenticator2_unittest.h View 4 chunks +12 lines, -11 lines 0 comments Download
M chrome/common/net/gaia/gaia_authenticator2_unittest.cc View 12 chunks +117 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
chron_chromium.org
zork, Please take a look at this CL. cmasone, This CL is going to zork ...
10 years, 5 months ago (2010-07-06 02:43:31 UTC) #1
Zachary Kuznia
LGTM http://codereview.chromium.org/2834042/diff/1/6 File chrome/common/net/gaia/gaia_authenticator2.cc (right): http://codereview.chromium.org/2834042/diff/1/6#newcode253 chrome/common/net/gaia/gaia_authenticator2.cc:253: } Perhaps make this an "} else {" ...
10 years, 5 months ago (2010-07-06 03:33:23 UTC) #2
tim (not reviewing)
I mentioned this briefly in your design doc, and seeing this code I see a ...
10 years, 5 months ago (2010-07-07 02:50:19 UTC) #3
chron_chromium.org
10 years, 5 months ago (2010-07-07 05:05:34 UTC) #4
I'll reconcile the two in a follow up CL since it would touch a lot of
files.

On Tue, Jul 6, 2010 at 7:50 PM, <tim@chromium.org> wrote:

> I mentioned this briefly in your design doc, and seeing this code I see a
> lot of
> similarity between your auth error struct and
> chrome/browser/google_service_auth_error.h.  That one looks a little more
> robust, and additionally supports captcha.
>
> Can't we use it instead?
>
>
> On 2010/07/06 03:33:23, Zachary Kuznia wrote:
>
>> LGTM
>>
>
>  http://codereview.chromium.org/2834042/diff/1/6
>> File chrome/common/net/gaia/gaia_authenticator2.cc (right):
>>
>
>  http://codereview.chromium.org/2834042/diff/1/6#newcode253
>> chrome/common/net/gaia/gaia_authenticator2.cc:253: }
>> Perhaps make this an "} else {" to make the flow of this function more
>> clear.
>>
>
>
>
> http://codereview.chromium.org/2834042/show
>

Powered by Google App Engine
This is Rietveld 408576698