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

Issue 2673443002: Remove IdentityGetAuthTokenFunction interface dep on IdentityAPI (Closed)

Created:
3 years, 10 months ago by blundell
Modified:
3 years, 10 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove IdentityGetAuthTokenFunction interface dep on IdentityAPI In preparation for IdentityGetAuthTokenFunction being moved to its own file, we must break the cyclic interface dependency between IdentityAPI and IdentityGetAuthTokenFunction (identity_api.h will need to include identity_get_auth_token_function.h for the extension registration mechanism to see the latter). This CL removes IdentityAPI::ShutdownObserver and replaces it with IdentityAPI directly calling IdentityGetAuthTokenFunction::Shutdown(). BUG=685654 Review-Url: https://codereview.chromium.org/2673443002 Cr-Commit-Position: refs/heads/master@{#447970} Committed: https://chromium.googlesource.com/chromium/src/+/202f1212a29d67d81515dfa55f31b0ec8501efb3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -30 lines) Patch
M chrome/browser/extensions/api/identity/identity_api.h View 7 chunks +12 lines, -14 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 5 chunks +7 lines, -14 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (8 generated)
blundell
3 years, 10 months ago (2017-02-02 08:26:28 UTC) #6
Ken Rockot(use gerrit already)
lgtm
3 years, 10 months ago (2017-02-02 15:20:52 UTC) #7
Ken Rockot(use gerrit already)
BTW, it's a little weird to have a set_get_auth_token_function - do you see this as ...
3 years, 10 months ago (2017-02-02 15:22:14 UTC) #8
blundell
On 2017/02/02 15:22:14, Ken Rockot wrote: > BTW, it's a little weird to have a ...
3 years, 10 months ago (2017-02-02 15:26:27 UTC) #9
blundell
Going to land this, but happy to switch to the other approach if you like ...
3 years, 10 months ago (2017-02-03 08:24:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673443002/1
3 years, 10 months ago (2017-02-03 08:25:18 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 09:31:00 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/202f1212a29d67d81515dfa55f31...

Powered by Google App Engine
This is Rietveld 408576698