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

Issue 10080016: Set the authorization header when calling an API. Otherwise, no API call will succeed. (Closed)

Created:
8 years, 8 months ago by Munjal (Google)
Modified:
8 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Set the authorization header when calling an API. Otherwise, no API call will succeed. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132473

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
M chrome/common/net/gaia/oauth2_api_call_flow.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/net/gaia/oauth2_api_call_flow.cc View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc View 1 5 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Munjal (Google)
8 years, 8 months ago (2012-04-13 22:38:33 UTC) #1
asargent_no_longer_on_chrome
The code change looks good - can we add a test for this as well?
8 years, 8 months ago (2012-04-13 23:39:24 UTC) #2
Munjal (Google)
Added tests. Sorry for the laziness earlier. PTAL.
8 years, 8 months ago (2012-04-16 19:27:37 UTC) #3
jstritar
lgtm thanks!
8 years, 8 months ago (2012-04-16 19:30:19 UTC) #4
jstritar
http://codereview.chromium.org/10080016/diff/4001/chrome/common/net/gaia/oauth2_api_call_flow.cc File chrome/common/net/gaia/oauth2_api_call_flow.cc (right): http://codereview.chromium.org/10080016/diff/4001/chrome/common/net/gaia/oauth2_api_call_flow.cc#newcode29 chrome/common/net/gaia/oauth2_api_call_flow.cc:29: static std::string MakeAuthorizationHeader(const std::string& auth_token) { nit: rm extra ...
8 years, 8 months ago (2012-04-16 19:30:36 UTC) #5
Munjal (Google)
http://codereview.chromium.org/10080016/diff/4001/chrome/common/net/gaia/oauth2_api_call_flow.cc File chrome/common/net/gaia/oauth2_api_call_flow.cc (right): http://codereview.chromium.org/10080016/diff/4001/chrome/common/net/gaia/oauth2_api_call_flow.cc#newcode29 chrome/common/net/gaia/oauth2_api_call_flow.cc:29: static std::string MakeAuthorizationHeader(const std::string& auth_token) { On 2012/04/16 19:30:36, ...
8 years, 8 months ago (2012-04-16 19:32:14 UTC) #6
asargent_no_longer_on_chrome
8 years, 8 months ago (2012-04-16 19:55:33 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698