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

Unified Diff: components/payments/content/android/origin_security_checker_android.h

Issue 2815763002: Prevent usage of web payments API over insecure HTTPS. (Closed)
Patch Set: Fix typo 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 side-by-side diff with in-line comments
Download patch
Index: components/payments/content/android/origin_security_checker_android.h
diff --git a/components/payments/content/android/origin_security_checker_android.h b/components/payments/content/android/origin_security_checker_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..d44138984b5c0a1a119352931a3f478dbbf3601e
--- /dev/null
+++ b/components/payments/content/android/origin_security_checker_android.h
@@ -0,0 +1,16 @@
+// 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.
+
+#ifndef COMPONENTS_PAYMENTS_CONTENT_ANDROID_ORIGIN_SECURITY_CHECKER_ANDROID_H_
+#define COMPONENTS_PAYMENTS_CONTENT_ANDROID_ORIGIN_SECURITY_CHECKER_ANDROID_H_
+
+#include <jni.h>
+
+namespace payments {
+
+bool RegisterOriginSecurityChecker(JNIEnv* env);
+
+} // namespace payments
+
+#endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_ORIGIN_SECURITY_CHECKER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698