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

Issue 15148007: Identity API: web-based scope approval dialogs for getAuthToken (Closed)

Created:
7 years, 7 months ago by Michael Courage
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Identity API: web-based scope approval dialogs for getAuthToken When getAuthToken needs to prompt a user for permissions, it now uses a web-based authorization flow instead of native dialogs. BUG=228908 (step #4 of the bug description) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200683

Patch Set 1 #

Patch Set 2 : build fix #

Patch Set 3 : better protocol description #

Total comments: 8

Patch Set 4 : address reviewer comments #

Patch Set 5 : windows build fix #

Total comments: 6

Patch Set 6 : address reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+736 lines, -128 lines) Patch
A chrome/browser/extensions/api/identity/gaia_web_auth_flow.h View 1 2 3 4 5 1 chunk +97 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc View 1 2 3 4 5 1 chunk +160 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc View 1 2 3 4 5 1 chunk +235 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.h View 1 2 3 4 5 6 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 1 2 3 4 5 5 chunks +69 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 2 3 4 5 25 chunks +130 lines, -112 lines 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.cc View 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.h View 2 chunks +2 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.cc View 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Michael Courage
Please review, asargent: chrome/browser/extensions/* & gypi files rogerta: google_apis/gaia/gaia_urls.*
7 years, 7 months ago (2013-05-16 05:29:12 UTC) #1
Roger Tawa OOO till Jul 10th
google_apis/gaia lgtm A few nits in the rest. https://codereview.chromium.org/15148007/diff/9001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc File chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc (right): https://codereview.chromium.org/15148007/diff/9001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc#newcode103 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc:103: std::string ...
7 years, 7 months ago (2013-05-16 16:06:15 UTC) #2
Michael Courage
https://codereview.chromium.org/15148007/diff/9001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc File chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc (right): https://codereview.chromium.org/15148007/diff/9001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc#newcode103 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc:103: std::string token_key(kOAuth2RedirectAccessTokenKey); On 2013/05/16 16:06:15, Roger Tawa wrote: > ...
7 years, 7 months ago (2013-05-16 20:39:02 UTC) #3
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/15148007/diff/31001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.h File chrome/browser/extensions/api/identity/gaia_web_auth_flow.h (right): https://codereview.chromium.org/15148007/diff/31001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.h#newcode53 chrome/browser/extensions/api/identity/gaia_web_auth_flow.h:53: const std::string& error) = 0; nit: It seems ...
7 years, 7 months ago (2013-05-16 21:39:19 UTC) #4
Michael Courage
https://codereview.chromium.org/15148007/diff/31001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.h File chrome/browser/extensions/api/identity/gaia_web_auth_flow.h (right): https://codereview.chromium.org/15148007/diff/31001/chrome/browser/extensions/api/identity/gaia_web_auth_flow.h#newcode53 chrome/browser/extensions/api/identity/gaia_web_auth_flow.h:53: const std::string& error) = 0; On 2013/05/16 21:39:20, Antony ...
7 years, 7 months ago (2013-05-16 22:44:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/15148007/25002
7 years, 7 months ago (2013-05-16 22:54:47 UTC) #6
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 01:12:56 UTC) #7
Message was sent while issue was closed.
Change committed as 200683

Powered by Google App Engine
This is Rietveld 408576698