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

Issue 8632005: Part 1 of work to do user sign in based on OAuth2: (Closed)

Created:
9 years, 1 month ago by Munjal (Google)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., asargent_no_longer_on_chrome
Visibility:
Public.

Description

Part 1 of work to do user sign in based on OAuth2: - Add a couple of more flow methods to GaiaAuthFetcher. - Add a new fetcher class to get a new access token from refresh token. - Full set o tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111270

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 10

Patch Set 4 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1067 lines, -6 lines) Patch
M chrome/chrome_common.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_auth_consumer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher.h View 1 2 3 11 chunks +60 lines, -1 line 4 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher.cc View 1 2 3 18 chunks +232 lines, -2 lines 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc View 1 2 3 6 chunks +225 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_constants.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_constants.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/common/net/gaia/gaia_urls.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_urls.cc View 3 chunks +35 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/google_service_auth_error.h View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/common/net/gaia/oauth2_access_token_consumer.h View 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/common/net/gaia/oauth2_access_token_fetcher.h View 1 2 3 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/common/net/gaia/oauth2_access_token_fetcher.cc View 1 chunk +189 lines, -0 lines 0 comments Download
A chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc View 1 chunk +180 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Munjal (Google)
9 years, 1 month ago (2011-11-22 07:44:36 UTC) #1
Rick Campbell
Mostly good. I'm open to discussion on the naming, but I do think it would ...
9 years, 1 month ago (2011-11-22 21:32:57 UTC) #2
Munjal (Google)
All done. Please take another look. http://codereview.chromium.org/8632005/diff/5005/chrome/common/net/gaia/gaia_auth_fetcher.h File chrome/common/net/gaia/gaia_auth_fetcher.h (right): http://codereview.chromium.org/8632005/diff/5005/chrome/common/net/gaia/gaia_auth_fetcher.h#newcode120 chrome/common/net/gaia/gaia_auth_fetcher.h:120: // The format ...
9 years, 1 month ago (2011-11-22 22:05:58 UTC) #3
Rick Campbell
LGTM with two nits http://codereview.chromium.org/8632005/diff/9001/chrome/common/net/gaia/gaia_auth_fetcher.h File chrome/common/net/gaia/gaia_auth_fetcher.h (right): http://codereview.chromium.org/8632005/diff/9001/chrome/common/net/gaia/gaia_auth_fetcher.h#newcode147 chrome/common/net/gaia/gaia_auth_fetcher.h:147: // Constants for request/response for ...
9 years, 1 month ago (2011-11-22 22:22:52 UTC) #4
Munjal (Google)
9 years, 1 month ago (2011-11-22 22:29:24 UTC) #5
http://codereview.chromium.org/8632005/diff/9001/chrome/common/net/gaia/gaia_...
File chrome/common/net/gaia/gaia_auth_fetcher.h (right):

http://codereview.chromium.org/8632005/diff/9001/chrome/common/net/gaia/gaia_...
chrome/common/net/gaia/gaia_auth_fetcher.h:147: // Constants for
request/response for OAtuh2 requests.
On 2011/11/22 22:22:53, Rick Campbell wrote:
> typo OAtuh2 --> OAuth2

Done.

http://codereview.chromium.org/8632005/diff/9001/chrome/common/net/gaia/gaia_...
chrome/common/net/gaia/gaia_auth_fetcher.h:258: bool use_cookies,
On 2011/11/22 22:22:53, Rick Campbell wrote:
> Nit -- this is called send_cookies in the source file and use_cookies in the
> header.

Done.

Powered by Google App Engine
This is Rietveld 408576698