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

Issue 640263002: Credential Manager: Pass the correct credential type to the embedder. (Closed)

Created:
6 years, 2 months ago by Mike West
Modified:
6 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Credential Manager: Pass the correct credential type to the embedder. Currently, we're passing WebCredential objects; we ought to pass WebLocalCredential or WebFederatedCredential objects. This patch adds a '::create' method to WebCredential which constructs the proper type, given a PlatformCredential, and teaches PlatformCredential to talk about itself in order to make that type checking possible. BUG=400674 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183523

Patch Set 1 #

Total comments: 1

Patch Set 2 : Feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -9 lines) Patch
M Source/modules/credentialmanager/CredentialsContainer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/credentialmanager/PlatformCredential.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/credentialmanager/PlatformFederatedCredential.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/credentialmanager/PlatformLocalCredential.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/exported/WebCredential.cpp View 1 2 chunks +33 lines, -0 lines 0 comments Download
M Source/platform/exported/WebFederatedCredential.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M Source/platform/exported/WebLocalCredential.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M public/platform/WebCredential.h View 2 chunks +8 lines, -3 lines 0 comments Download
M public/platform/WebFederatedCredential.h View 1 chunk +7 lines, -2 lines 0 comments Download
M public/platform/WebLocalCredential.h View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Mike West
Kenneth: You wanted reviews, how about this one? :) Jochen: If it looks sane, would ...
6 years, 2 months ago (2014-10-09 13:15:45 UTC) #2
kenneth.r.christiansen
LGTM https://codereview.chromium.org/640263002/diff/1/Source/platform/exported/WebCredential.cpp File Source/platform/exported/WebCredential.cpp (right): https://codereview.chromium.org/640263002/diff/1/Source/platform/exported/WebCredential.cpp#newcode24 Source/platform/exported/WebCredential.cpp:24: return federated; Wouldn´t it be better to add ...
6 years, 2 months ago (2014-10-09 13:34:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640263002/20001
6 years, 2 months ago (2014-10-10 07:52:21 UTC) #5
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 09:29:54 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183523

Powered by Google App Engine
This is Rietveld 408576698