| Index: chrome/android/java/src/org/chromium/chrome/browser/payments/SslValidityChecker.java | 
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/SslValidityChecker.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/SslValidityChecker.java | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..6db667164ec49634952cd3cc1ddb940dae725e90 | 
| --- /dev/null | 
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/SslValidityChecker.java | 
| @@ -0,0 +1,26 @@ | 
| +// Copyright 2017 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +package org.chromium.chrome.browser.payments; | 
| + | 
| +import org.chromium.base.annotations.JNINamespace; | 
| +import org.chromium.content_public.browser.WebContents; | 
| + | 
| +/** SSL validity checker. */ | 
| +@JNINamespace("payments") | 
| +public class SslValidityChecker { | 
| +    /** | 
| +     * Returns true for web contents with a valid SSL certificate. | 
| +     * | 
| +     * @param webContents The web contents to check. | 
| +     * @return Whether the web contents have a valid SSL certificate. | 
| +     */ | 
| +    public static boolean isSslCertificateValid(WebContents webContents) { | 
| +        return nativeIsSslCertificateValid(webContents); | 
| +    } | 
| + | 
| +    private SslValidityChecker() {} | 
| + | 
| +    private static native boolean nativeIsSslCertificateValid(WebContents webContents); | 
| +} | 
|  |