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

Issue 457683002: Credential Manager: Add platform-exposed Credential objects. (Closed)

Created:
6 years, 4 months ago by Mike West
Modified:
6 years, 4 months ago
Reviewers:
haraken, sof, dglazkov
CC:
abarth-chromium, blink-reviews, dglazkov+blink, jamesr
Project:
blink
Visibility:
Public.

Description

Credential Manager: Add platform-exposed Credential objects. We're going to need to pass credentials up into Chromium, and back down into Blink. This patch makes that possible by adding a shared "Platform*Credential" type which can be used by both the Blink module's "*Credential" objects, and the platform's "Platform*Credential" objects. BUG=400674 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179919

Patch Set 1 : Strings. #

Total comments: 15

Patch Set 2 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -28 lines) Patch
M Source/modules/credentialmanager/Credential.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
M Source/modules/credentialmanager/Credential.cpp View 1 1 chunk +8 lines, -4 lines 0 comments Download
M Source/modules/credentialmanager/FederatedCredential.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/modules/credentialmanager/FederatedCredential.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/credentialmanager/LocalCredential.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/modules/credentialmanager/LocalCredential.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 3 chunks +9 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformCredential.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformCredential.cpp View 1 chunk +26 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformFederatedCredential.h View 1 chunk +30 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformFederatedCredential.cpp View 1 chunk +25 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformLocalCredential.h View 1 chunk +30 lines, -0 lines 0 comments Download
A Source/platform/credentialmanager/PlatformLocalCredential.cpp View 1 chunk +26 lines, -0 lines 0 comments Download
A Source/platform/exported/WebCredential.cpp View 1 1 chunk +47 lines, -0 lines 0 comments Download
A Source/platform/exported/WebFederatedCredential.cpp View 1 1 chunk +28 lines, -0 lines 0 comments Download
A Source/platform/exported/WebLocalCredential.cpp View 1 1 chunk +28 lines, -0 lines 0 comments Download
A public/platform/WebCredential.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A public/platform/WebFederatedCredential.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A public/platform/WebLocalCredential.h View 1 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mike West
Sigbjorn, since you're apparently not on vacation anymore, can you take a look at this ...
6 years, 4 months ago (2014-08-08 14:11:41 UTC) #1
dglazkov
lgtm
6 years, 4 months ago (2014-08-08 15:30:54 UTC) #2
Mike West
Widening to oilpan-reviews. Would you specifically take a look at the static_cast bits in Source/modules/*Credential.cpp ...
6 years, 4 months ago (2014-08-09 12:17:40 UTC) #3
sof
lgtm, some details below worth tidying up first. https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h File Source/modules/credentialmanager/Credential.h (left): https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h#oldcode14 Source/modules/credentialmanager/Credential.h:14: class ...
6 years, 4 months ago (2014-08-10 05:54:57 UTC) #4
haraken
LGTM from the oilpan perspective.
6 years, 4 months ago (2014-08-10 08:19:41 UTC) #5
Mike West
Thanks to you both! https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h File Source/modules/credentialmanager/Credential.h (left): https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h#oldcode14 Source/modules/credentialmanager/Credential.h:14: class Credential : public GarbageCollectedFinalized<Credential>, ...
6 years, 4 months ago (2014-08-10 11:39:53 UTC) #6
sof
https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h File Source/modules/credentialmanager/Credential.h (left): https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h#oldcode14 Source/modules/credentialmanager/Credential.h:14: class Credential : public GarbageCollectedFinalized<Credential>, public ScriptWrappable { On ...
6 years, 4 months ago (2014-08-10 13:14:15 UTC) #7
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 4 months ago (2014-08-11 07:09:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/457683002/40001
6 years, 4 months ago (2014-08-11 07:10:55 UTC) #9
Mike West
https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h File Source/modules/credentialmanager/Credential.h (right): https://codereview.chromium.org/457683002/diff/20001/Source/modules/credentialmanager/Credential.h#newcode30 Source/modules/credentialmanager/Credential.h:30: Credential(PlatformCredential*); On 2014/08/10 05:54:57, sof wrote: > Perhaps you ...
6 years, 4 months ago (2014-08-11 07:56:50 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 08:17:32 UTC) #11
Message was sent while issue was closed.
Change committed as 179919

Powered by Google App Engine
This is Rietveld 408576698