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

Issue 2928653002: [Cronet-iOS] Public-Key-Pinning Tests (Closed)

Created:
3 years, 6 months ago by kapishnikov
Modified:
3 years, 6 months ago
Reviewers:
lilyhoughton, mef, davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, ios-reviews_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet-iOS] Public-Key-Pinning Tests 1. Added PKP tests 2. Introduced CronetTestBase class that chares common code used in cronet HTTP & PKP tests. 3. Enabled ARC for Cronet tests. BUG=670689 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester patch from issue 2895123003 at patchset 1 (http://crrev.com/2895123003#ps1) Review-Url: https://codereview.chromium.org/2928653002 Cr-Commit-Position: refs/heads/master@{#480600} Committed: https://chromium.googlesource.com/chromium/src/+/eac2ab04ef175b2225a961a55108b20254f36a69

Patch Set 1 #

Patch Set 2 : Renamed a variable #

Patch Set 3 : Rebase + build fix + moved static methods inside pkp test class #

Patch Set 4 : Build fix on bot #

Total comments: 10

Patch Set 5 : Replace static with anonymous namespace #

Total comments: 6

Patch Set 6 : Addressed Lily's comments. #

Total comments: 34

Patch Set 7 : Addressed Misha's comments #

Total comments: 13

Patch Set 8 : Addressed Misha's comments #

Patch Set 9 : Fixed DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -140 lines) Patch
M components/cronet/ios/Cronet.h View 1 2 3 4 5 6 7 2 chunks +51 lines, -0 lines 0 comments Download
M components/cronet/ios/Cronet.mm View 1 2 3 4 5 6 7 6 chunks +65 lines, -0 lines 0 comments Download
M components/cronet/ios/cronet_environment.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M components/cronet/ios/cronet_environment.mm View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M components/cronet/ios/test/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A components/cronet/ios/test/DEPS View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M components/cronet/ios/test/cronet_http_test.mm View 3 chunks +8 lines, -138 lines 0 comments Download
A components/cronet/ios/test/cronet_pkp_test.mm View 1 2 3 4 5 6 7 8 1 chunk +253 lines, -0 lines 0 comments Download
A components/cronet/ios/test/cronet_test_base.h View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
A components/cronet/ios/test/cronet_test_base.mm View 1 2 3 4 5 6 1 chunk +188 lines, -0 lines 0 comments Download
M components/cronet/ios/test/start_cronet.mm View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M components/grpc_support/test/quic_test_server.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/grpc_support/test/quic_test_server.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
kapishnikov
Here are Public-Key-Pinning tests. PTAL.
3 years, 6 months ago (2017-06-06 20:36:33 UTC) #2
lilyhoughton
On 2017/06/06 20:36:33, kapishnikov wrote: > Here are Public-Key-Pinning tests. PTAL. This includes/supercedes the CL ...
3 years, 6 months ago (2017-06-08 16:34:43 UTC) #3
kapishnikov
On 2017/06/08 16:34:43, lilyhoughton wrote: > On 2017/06/06 20:36:33, kapishnikov wrote: > > Here are ...
3 years, 6 months ago (2017-06-08 17:04:58 UTC) #4
lilyhoughton
https://codereview.chromium.org/2928653002/diff/60001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/60001/components/cronet/ios/Cronet.h#newcode76 components/cronet/ios/Cronet.h:76: // <p> Can the html be replaced with something ...
3 years, 6 months ago (2017-06-09 16:51:57 UTC) #5
lilyhoughton
A couple more nits https://codereview.chromium.org/2928653002/diff/80001/components/cronet/ios/test/cronet_pkp_test.mm File components/cronet/ios/test/cronet_pkp_test.mm (right): https://codereview.chromium.org/2928653002/diff/80001/components/cronet/ios/test/cronet_pkp_test.mm#newcode65 components/cronet/ios/test/cronet_pkp_test.mm:65: void sendRequestAndAssertSuccess(NSURL* url) { nit: ...
3 years, 6 months ago (2017-06-09 17:07:52 UTC) #6
kapishnikov
https://codereview.chromium.org/2928653002/diff/60001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/60001/components/cronet/ios/Cronet.h#newcode76 components/cronet/ios/Cronet.h:76: // <p> On 2017/06/09 16:51:57, lilyhoughton wrote: > Can ...
3 years, 6 months ago (2017-06-09 21:27:02 UTC) #7
mef
https://codereview.chromium.org/2928653002/diff/100001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/100001/components/cronet/ios/Cronet.h#newcode76 components/cronet/ios/Cronet.h:76: /// Pins a set of public keys for a ...
3 years, 6 months ago (2017-06-12 22:25:24 UTC) #8
kapishnikov
https://codereview.chromium.org/2928653002/diff/100001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/100001/components/cronet/ios/Cronet.h#newcode76 components/cronet/ios/Cronet.h:76: /// Pins a set of public keys for a ...
3 years, 6 months ago (2017-06-16 20:11:05 UTC) #9
mef
lgtm with nits. https://codereview.chromium.org/2928653002/diff/120001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/120001/components/cronet/ios/Cronet.h#newcode20 components/cronet/ios/Cronet.h:20: /// Cronet Domain Name. Should it ...
3 years, 6 months ago (2017-06-19 15:02:33 UTC) #10
kapishnikov
https://codereview.chromium.org/2928653002/diff/120001/components/cronet/ios/Cronet.h File components/cronet/ios/Cronet.h (right): https://codereview.chromium.org/2928653002/diff/120001/components/cronet/ios/Cronet.h#newcode20 components/cronet/ios/Cronet.h:20: /// Cronet Domain Name. On 2017/06/19 15:02:33, mef wrote: ...
3 years, 6 months ago (2017-06-19 18:32:48 UTC) #11
kapishnikov
Adding David to approve PKP tests dependency on crypto. The tests use crypto::SHA256HashString to compute ...
3 years, 6 months ago (2017-06-19 18:49:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2928653002/140001
3 years, 6 months ago (2017-06-19 19:30:34 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/467664)
3 years, 6 months ago (2017-06-19 19:43:07 UTC) #18
davidben
DEPS lgtm
3 years, 6 months ago (2017-06-19 20:02:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2928653002/140001
3 years, 6 months ago (2017-06-19 20:15:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/467735)
3 years, 6 months ago (2017-06-19 20:25:28 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2928653002/160001
3 years, 6 months ago (2017-06-19 20:46:46 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-06-19 22:20:45 UTC) #29
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/eac2ab04ef175b2225a961a55108...

Powered by Google App Engine
This is Rietveld 408576698