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

Issue 340353006: [webcrypto] Replace KeyAlgorithm interfaces with an Object. (Closed)

Created:
6 years, 6 months ago by eroman
Modified:
6 years, 5 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink, jamesr
Project:
blink
Visibility:
Public.

Description

[webcrypto] Replace the *KeyAlgorithm interfaces with an Object. This corresponds with the spec update: https://dvcs.w3.org/hg/webcrypto-api/rev/309495c2794e BUG=386734 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177637

Patch Set 1 : #

Patch Set 2 : rebase onto master #

Total comments: 5

Patch Set 3 : Add setters to Dictionary #

Patch Set 4 : Add back Handle.h #

Patch Set 5 : rebase onto master #

Patch Set 6 : rebase onto master #

Total comments: 3

Patch Set 7 : rebase onto master #

Patch Set 8 : Remove const reference and make v8value a value #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -758 lines) Patch
M Source/bindings/core/v8/Dictionary.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/Dictionary.cpp View 1 2 3 4 5 6 2 chunks +31 lines, -0 lines 0 comments Download
A Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
M Source/bindings/modules/v8/custom/custom.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
D Source/modules/crypto/AesKeyAlgorithm.cpp View 1 chunk +0 lines, -61 lines 0 comments Download
D Source/modules/crypto/AesKeyAlgorithm.idl View 1 chunk +0 lines, -35 lines 0 comments Download
M Source/modules/crypto/CryptoKey.h View 1 2 3 4 5 6 3 chunks +1 line, -4 lines 0 comments Download
M Source/modules/crypto/CryptoKey.cpp View 1 2 3 4 5 6 3 chunks +1 line, -13 lines 0 comments Download
M Source/modules/crypto/CryptoKey.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/crypto/CryptoResultImpl.cpp View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
D Source/modules/crypto/HmacKeyAlgorithm.h View 1 chunk +0 lines, -57 lines 0 comments Download
D Source/modules/crypto/HmacKeyAlgorithm.cpp View 1 chunk +0 lines, -68 lines 0 comments Download
D Source/modules/crypto/HmacKeyAlgorithm.idl View 1 chunk +0 lines, -36 lines 0 comments Download
D Source/modules/crypto/KeyAlgorithm.cpp View 1 chunk +0 lines, -102 lines 0 comments Download
D Source/modules/crypto/KeyAlgorithm.idl View 1 chunk +0 lines, -37 lines 0 comments Download
D Source/modules/crypto/RsaHashedKeyAlgorithm.h View 1 chunk +0 lines, -56 lines 0 comments Download
D Source/modules/crypto/RsaHashedKeyAlgorithm.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
D Source/modules/crypto/RsaHashedKeyAlgorithm.idl View 1 chunk +0 lines, -35 lines 0 comments Download
D Source/modules/crypto/RsaKeyAlgorithm.h View 1 chunk +0 lines, -58 lines 0 comments Download
D Source/modules/crypto/RsaKeyAlgorithm.cpp View 1 chunk +0 lines, -76 lines 0 comments Download
D Source/modules/crypto/RsaKeyAlgorithm.idl View 1 chunk +0 lines, -36 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 3 chunks +0 lines, -15 lines 0 comments Download
M Source/platform/exported/WebCryptoKeyAlgorithm.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M public/platform/WebCryptoKeyAlgorithm.h View 1 chunk +3 lines, -0 lines 0 comments Download
M public/platform/WebCryptoKeyAlgorithmParams.h View 5 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
eroman
oops, forgot to hit publish on this one :)
6 years, 6 months ago (2014-06-26 19:31:02 UTC) #1
abarth-chromium
https://codereview.chromium.org/340353006/diff/40001/Source/bindings/v8/custom/V8CryptoKeyCustom.cpp File Source/bindings/v8/custom/V8CryptoKeyCustom.cpp (right): https://codereview.chromium.org/340353006/diff/40001/Source/bindings/v8/custom/V8CryptoKeyCustom.cpp#newcode15 Source/bindings/v8/custom/V8CryptoKeyCustom.cpp:15: class DictionaryBuilder : public blink::WebCryptoKeyAlgorithmDictionary { Can we move ...
6 years, 6 months ago (2014-06-26 19:56:18 UTC) #2
sof
https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h File Source/modules/crypto/CryptoKey.h (left): https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h#oldcode36 Source/modules/crypto/CryptoKey.h:36: #include "platform/heap/Handle.h" It'd be good if you could leave ...
6 years, 6 months ago (2014-06-26 19:56:51 UTC) #3
abarth-chromium
More specifically, DictionaryBuilder makes sense as a general class in the bindings. You'll still need ...
6 years, 6 months ago (2014-06-26 19:57:23 UTC) #4
eroman
PTAL, I have added setters to the Dictionary class.
6 years, 5 months ago (2014-06-27 21:43:48 UTC) #5
eroman
https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h File Source/modules/crypto/CryptoKey.h (left): https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h#oldcode36 Source/modules/crypto/CryptoKey.h:36: #include "platform/heap/Handle.h" On 2014/06/26 19:56:51, sof wrote: > It'd ...
6 years, 5 months ago (2014-06-27 21:52:19 UTC) #6
sof
https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h File Source/modules/crypto/CryptoKey.h (left): https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h#oldcode36 Source/modules/crypto/CryptoKey.h:36: #include "platform/heap/Handle.h" On 2014/06/27 21:52:19, eroman wrote: > On ...
6 years, 5 months ago (2014-06-28 06:03:35 UTC) #7
eroman
https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h File Source/modules/crypto/CryptoKey.h (left): https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h#oldcode36 Source/modules/crypto/CryptoKey.h:36: #include "platform/heap/Handle.h" On 2014/06/28 06:03:35, sof wrote: > On ...
6 years, 5 months ago (2014-06-30 19:57:59 UTC) #8
sof
On 2014/06/30 19:57:59, eroman wrote: > https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h > File Source/modules/crypto/CryptoKey.h (left): > > https://codereview.chromium.org/340353006/diff/40001/Source/modules/crypto/CryptoKey.h#oldcode36 > ...
6 years, 5 months ago (2014-06-30 21:22:57 UTC) #9
eroman
@abarth: Ping, could you take another look? Thanks!
6 years, 5 months ago (2014-07-08 01:37:59 UTC) #10
abarth-chromium
LGTM https://codereview.chromium.org/340353006/diff/120001/Source/bindings/v8/Dictionary.h File Source/bindings/v8/Dictionary.h (right): https://codereview.chromium.org/340353006/diff/120001/Source/bindings/v8/Dictionary.h#newcode118 Source/bindings/v8/Dictionary.h:118: const v8::Handle<v8::Value>& v8Value() const { return m_options; } ...
6 years, 5 months ago (2014-07-08 02:07:05 UTC) #11
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-08 03:15:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/340353006/160001
6 years, 5 months ago (2014-07-08 03:15:59 UTC) #13
commit-bot: I haz the power
Change committed as 177637
6 years, 5 months ago (2014-07-08 04:20:29 UTC) #14
haraken
LGTM FYI, bashi-san is implementing the IDL dictionary and it will make our life easier ...
6 years, 5 months ago (2014-07-08 04:28:08 UTC) #15
eroman
https://codereview.chromium.org/340353006/diff/120001/Source/bindings/v8/Dictionary.h File Source/bindings/v8/Dictionary.h (right): https://codereview.chromium.org/340353006/diff/120001/Source/bindings/v8/Dictionary.h#newcode69 Source/bindings/v8/Dictionary.h:69: explicit Dictionary(v8::Isolate*); On 2014/07/08 04:28:08, haraken wrote: > > ...
6 years, 5 months ago (2014-07-08 19:24:21 UTC) #16
eroman
6 years, 5 months ago (2014-07-08 19:27:37 UTC) #17
Message was sent while issue was closed.
(I found the related bug number, so no need to respond to earlier question :)

Powered by Google App Engine
This is Rietveld 408576698