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

Unified Diff: net/cert/mock_cert_verifier.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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 | « net/cert/jwk_serializer_unittest.cc ('k') | net/cert/nss_cert_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/mock_cert_verifier.cc
diff --git a/net/cert/mock_cert_verifier.cc b/net/cert/mock_cert_verifier.cc
index ba89b7137fb3a6d51d5cc1d7a891e42368cd0fee..db23fda2d2e1f5cee68d44d78f04b8af95629a2d 100644
--- a/net/cert/mock_cert_verifier.cc
+++ b/net/cert/mock_cert_verifier.cc
@@ -5,7 +5,7 @@
#include "net/cert/mock_cert_verifier.h"
#include "base/memory/ref_counted.h"
-#include "base/strings/string_util.h"
+#include "base/strings/pattern.h"
#include "net/base/net_errors.h"
#include "net/cert/cert_status_flags.h"
#include "net/cert/cert_verify_result.h"
@@ -50,7 +50,7 @@ int MockCertVerifier::Verify(X509Certificate* cert,
// Check just the server cert. Intermediates will be ignored.
if (!it->cert->Equals(cert))
continue;
- if (!MatchPattern(hostname, it->hostname))
+ if (!base::MatchPattern(hostname, it->hostname))
continue;
*verify_result = it->result;
return it->rv;
« no previous file with comments | « net/cert/jwk_serializer_unittest.cc ('k') | net/cert/nss_cert_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698