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 456293002: Credential manager: Introduce platform interface. (Closed)

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

Description

Credential manager: Introduce platform interface. This patch adds a WebCredentialManager interface that the credential manager module will (eventually) use to call up into its embedder in response to JavaScript API calls. These methods don't currently do anything, and aren't actually called; until the Chromium-side work is done, there's no reason to wire them up to the JavaScript bindings. BUG=400674 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180040

Patch Set 1 #

Total comments: 15

Patch Set 2 : feedback. #

Total comments: 1

Patch Set 3 : ErrorTypeNaming. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -0 lines) Patch
M Source/modules/credentialmanager/CredentialsContainer.cpp View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M public/platform/Platform.h View 2 chunks +4 lines, -0 lines 0 comments Download
A public/platform/WebCredentialManager.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A public/platform/WebCredentialManagerError.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mike West
tkent@: Would you mind taking a look at the platform interface this patch adds? yhirano@: ...
6 years, 4 months ago (2014-08-11 08:13:19 UTC) #1
tkent
https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp File Source/modules/credentialmanager/CredentialsContainer.cpp (right): https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode32 Source/modules/credentialmanager/CredentialsContainer.cpp:32: break; Will the break-then-ASSERT_NO_REACHED work well? https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode33 Source/modules/credentialmanager/CredentialsContainer.cpp:33: }; ...
6 years, 4 months ago (2014-08-11 08:43:50 UTC) #2
yhirano
https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp File Source/modules/credentialmanager/CredentialsContainer.cpp (right): https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode38 Source/modules/credentialmanager/CredentialsContainer.cpp:38: class NotificationCallbacks : public WebCredentialManager::NotificationCallbacks { How about enclosing ...
6 years, 4 months ago (2014-08-11 08:58:48 UTC) #3
Mike West
Thanks to you both. https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp File Source/modules/credentialmanager/CredentialsContainer.cpp (right): https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode32 Source/modules/credentialmanager/CredentialsContainer.cpp:32: break; On 2014/08/11 08:43:50, tkent ...
6 years, 4 months ago (2014-08-11 09:13:41 UTC) #4
tkent
lgtm https://codereview.chromium.org/456293002/diff/20001/public/platform/WebCredentialManagerError.h File public/platform/WebCredentialManagerError.h (right): https://codereview.chromium.org/456293002/diff/20001/public/platform/WebCredentialManagerError.h#newcode14 public/platform/WebCredentialManagerError.h:14: DisabledErrorType = 0, The items should be ErrorTypeDisabled, ...
6 years, 4 months ago (2014-08-12 00:30:14 UTC) #5
yhirano
https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp File Source/modules/credentialmanager/CredentialsContainer.cpp (right): https://codereview.chromium.org/456293002/diff/1/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode49 Source/modules/credentialmanager/CredentialsContainer.cpp:49: virtual void onError(WebCredentialManagerError* reason) OVERRIDE On 2014/08/11 09:13:40, Mike ...
6 years, 4 months ago (2014-08-12 06:55:29 UTC) #6
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 4 months ago (2014-08-12 07:44:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/456293002/40001
6 years, 4 months ago (2014-08-12 07:44:41 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 07:48:02 UTC) #9
Message was sent while issue was closed.
Change committed as 180040

Powered by Google App Engine
This is Rietveld 408576698