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

Unified Diff: ios/web/net/cert_verifier_block_adapter.h

Issue 1231783003: WKWebView: Do not DCHECK on invalid CertVerifierBlockAdapter::Params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/net/cert_verifier_block_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/cert_verifier_block_adapter.h
diff --git a/ios/web/net/cert_verifier_block_adapter.h b/ios/web/net/cert_verifier_block_adapter.h
index 96e07beae54dcb57e66b645daae603ce88b12128..ee9829e68c4db76564129da3192602ef7b3d9b6c 100644
--- a/ios/web/net/cert_verifier_block_adapter.h
+++ b/ios/web/net/cert_verifier_block_adapter.h
@@ -27,7 +27,9 @@ class CertVerifierBlockAdapter {
~CertVerifierBlockAdapter();
// Encapsulates verification parms. |cert| and |hostname| are mandatory, the
- // other params are optional.
+ // other params are optional. If either of mandatory arguments is null or
+ // empty then verification |CompletionHandler| will be called with
+ // ERR_INVALID_ARGUMENT status.
struct Params {
// Constructs Params from X509 cert and hostname, which are mandatory for
// verification.
« no previous file with comments | « no previous file | ios/web/net/cert_verifier_block_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698