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

Issue 14270007: Identity API: getAuthToken request queues (token cache prelude) (Closed)

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

Description

Identity API: getAuthToken request queues (token cache prelude) Serializing calls to getAuthToken will eliminate unnecessary calls to GAIA and consolidate UI flows. There is are two queues of requests for each (extension, scopes) tuple, one for the non-interactive IssueToken flow and one for the interactive prompt. BUG=228908 (step #1 of the bug description) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194627

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix test fixture init + address code review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+724 lines, -101 lines) Patch
M chrome/browser/extensions/api/identity/identity_api.h View 1 7 chunks +42 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 7 chunks +110 lines, -28 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 6 chunks +231 lines, -70 lines 0 comments Download
A chrome/browser/extensions/api/identity/identity_mint_queue.h View 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity/identity_mint_queue.cc View 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity/identity_mint_queue_unittest.cc View 1 chunk +185 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

Messages

Total messages: 8 (0 generated)
Michael Courage
Hi James & Nico, please review. koz: chrome/browser/extensions/api/identity/* thakis: chrome/browser/*.gypi
7 years, 8 months ago (2013-04-15 23:45:22 UTC) #1
koz (OOO until 15th September)
Sorry, but I don't think I'm a good reviewer for this as I'm unfamiliar with ...
7 years, 8 months ago (2013-04-16 06:22:32 UTC) #2
Michael Courage
+miket to reviewers for email To: line
7 years, 8 months ago (2013-04-16 14:40:20 UTC) #3
miket_OOO
> Mike, could you suggest an appropriate reviewer? I suggest myself. Got it.
7 years, 8 months ago (2013-04-16 15:27:52 UTC) #4
miket_OOO
lgtm https://codereview.chromium.org/14270007/diff/1/chrome/browser/extensions/api/identity/identity_api.h File chrome/browser/extensions/api/identity/identity_api.h (right): https://codereview.chromium.org/14270007/diff/1/chrome/browser/extensions/api/identity/identity_api.h#newcode78 chrome/browser/extensions/api/identity/identity_api.h:78: void CompleteFunctionWithResult(const std::string& access_token); Should these two have ...
7 years, 8 months ago (2013-04-16 20:42:56 UTC) #5
Michael Courage
https://codereview.chromium.org/14270007/diff/1/chrome/browser/extensions/api/identity/identity_api.h File chrome/browser/extensions/api/identity/identity_api.h (right): https://codereview.chromium.org/14270007/diff/1/chrome/browser/extensions/api/identity/identity_api.h#newcode78 chrome/browser/extensions/api/identity/identity_api.h:78: void CompleteFunctionWithResult(const std::string& access_token); On 2013/04/16 20:42:56, miket wrote: ...
7 years, 8 months ago (2013-04-16 22:04:23 UTC) #6
Nico
gypi lgtm
7 years, 8 months ago (2013-04-16 22:15:18 UTC) #7
Dmitry Titov
7 years, 8 months ago (2013-04-17 17:49:30 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r194627 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698