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

Side by Side Diff: chrome/browser/payments/ssl_validity_checker.h

Issue 2815763002: Prevent usage of web payments API over insecure HTTPS. (Closed)
Patch Set: Self-review Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PAYMENTS_SSL_VALIDITY_CHECKER_H_
6 #define CHROME_BROWSER_PAYMENTS_SSL_VALIDITY_CHECKER_H_
7
8 #include "base/macros.h"
9
10 namespace content {
11 class WebContents;
12 }
13
14 namespace payments {
15
16 class SslValidityChecker {
17 public:
18 // Returns true for |web_contents| with a valid SSL certificate.
Mathieu 2017/04/17 03:20:45 would be good to document a little bit what you in
please use gerrit instead 2017/04/17 18:19:54 Done.
19 static bool IsValidSslCertificate(content::WebContents* web_contents);
20
21 private:
22 DISALLOW_IMPLICIT_CONSTRUCTORS(SslValidityChecker);
23 };
24
25 } // namespace payments
26
27 #endif // CHROME_BROWSER_PAYMENTS_SSL_VALIDITY_CHECKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698