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

Issue 188203003: Move webcrypto to child/ and add support to worker_webkitplatformsupport. (Closed)

Created:
6 years, 9 months ago by jww
Modified:
6 years, 9 months ago
Reviewers:
eroman, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, abarth-chromium
Visibility:
Public.

Description

Move webcrypto to child/ and add support to WebKitPlatformSupportImpl. The current content/renderer/webcrypto implementation is really generalizable to both renderers and workers. This commit moves content/renderer/webcrypto to content/child/webcrypto. Additionally, it adds support in WebKitPlatformSupportImpl for WebCrypto, so both workers and renderers can use it. BUG=349514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255658

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed the header guards #

Patch Set 3 : Moved shared worker and renderer crytpo platform code to WebKitPlatformSupportImpl #

Patch Set 4 : Rebased on ToT #

Patch Set 5 : Fixes to gypis #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -6041 lines) Patch
A + content/child/webcrypto/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/child/webcrypto/crypto_data.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/crypto_data.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/child/webcrypto/jwk.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A + content/child/webcrypto/platform_crypto.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/platform_crypto_nss.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/platform_crypto_openssl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/shared_crypto.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/shared_crypto.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + content/child/webcrypto/shared_crypto_unittest.cc View 2 chunks +4 lines, -6 lines 0 comments Download
A + content/child/webcrypto/webcrypto_impl.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + content/child/webcrypto/webcrypto_impl.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + content/child/webcrypto/webcrypto_util.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + content/child/webcrypto/webcrypto_util.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M content/child/webkitplatformsupport_impl.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/child/webkitplatformsupport_impl.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 2 chunks +36 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 2 chunks +0 lines, -36 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 1 2 3 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
D content/renderer/webcrypto/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/webcrypto/crypto_data.h View 1 chunk +0 lines, -56 lines 0 comments Download
D content/renderer/webcrypto/crypto_data.cc View 1 chunk +0 lines, -35 lines 0 comments Download
D content/renderer/webcrypto/jwk.cc View 1 chunk +0 lines, -554 lines 0 comments Download
D content/renderer/webcrypto/platform_crypto.h View 1 chunk +0 lines, -185 lines 0 comments Download
D content/renderer/webcrypto/platform_crypto_nss.cc View 1 chunk +0 lines, -1107 lines 0 comments Download
D content/renderer/webcrypto/platform_crypto_openssl.cc View 1 chunk +0 lines, -395 lines 0 comments Download
D content/renderer/webcrypto/shared_crypto.h View 1 chunk +0 lines, -138 lines 0 comments Download
D content/renderer/webcrypto/shared_crypto.cc View 1 chunk +0 lines, -485 lines 0 comments Download
D content/renderer/webcrypto/shared_crypto_unittest.cc View 1 chunk +0 lines, -2145 lines 0 comments Download
D content/renderer/webcrypto/webcrypto_impl.h View 1 chunk +0 lines, -77 lines 0 comments Download
D content/renderer/webcrypto/webcrypto_impl.cc View 1 chunk +0 lines, -210 lines 0 comments Download
D content/renderer/webcrypto/webcrypto_util.h View 1 chunk +0 lines, -249 lines 0 comments Download
D content/renderer/webcrypto/webcrypto_util.cc View 1 chunk +0 lines, -304 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
jww
This is a first whack at moving content/renderer/webcrypto/ to content/child/webcrytpo, as well as adding WebCrypto ...
6 years, 9 months ago (2014-03-06 01:12:07 UTC) #1
eroman
lgtm other than header guards https://codereview.chromium.org/188203003/diff/1/content/child/webcrypto/crypto_data.h File content/child/webcrypto/crypto_data.h (right): https://codereview.chromium.org/188203003/diff/1/content/child/webcrypto/crypto_data.h#newcode5 content/child/webcrypto/crypto_data.h:5: #ifndef CONTENT_RENDERER_WEBCRYPTO_CRYPTO_DATA_H_ Please change ...
6 years, 9 months ago (2014-03-06 01:49:13 UTC) #2
jww
Charlie, can you take a look at this to make sure the move of content/renderer/webcrypto ...
6 years, 9 months ago (2014-03-06 02:04:13 UTC) #3
Charlie Reis
On 2014/03/06 02:04:13, jww wrote: > Charlie, can you take a look at this to ...
6 years, 9 months ago (2014-03-06 04:34:15 UTC) #4
jam
lgtm one comment: why not put the shared crypto code in the WebKitPlatformSupportImpl base class ...
6 years, 9 months ago (2014-03-06 18:11:05 UTC) #5
jww
On 2014/03/06 18:11:05, jam wrote: > lgtm > > one comment: why not put the ...
6 years, 9 months ago (2014-03-06 19:02:37 UTC) #6
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-06 19:06:14 UTC) #7
jww
The CQ bit was unchecked by jww@chromium.org
6 years, 9 months ago (2014-03-06 19:08:03 UTC) #8
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-06 19:09:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/188203003/40001
6 years, 9 months ago (2014-03-06 19:15:35 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 19:15:47 UTC) #11
commit-bot: I haz the power
Failed to apply patch for content/content_tests.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-06 19:15:48 UTC) #12
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-06 19:32:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/188203003/60001
6 years, 9 months ago (2014-03-06 19:40:21 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 20:09:55 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-06 20:09:55 UTC) #16
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-07 06:34:56 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/188203003/80001
6 years, 9 months ago (2014-03-07 06:36:52 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 07:02:11 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 07:02:12 UTC) #20
jww
The CQ bit was checked by jww@chromium.org
6 years, 9 months ago (2014-03-07 16:35:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/188203003/80001
6 years, 9 months ago (2014-03-07 16:36:07 UTC) #22
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 18:00:17 UTC) #23
Message was sent while issue was closed.
Change committed as 255658

Powered by Google App Engine
This is Rietveld 408576698