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

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

Issue 2838433002: [Payments] Cache payment manifests. (Closed)
Patch Set: fix tests 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/payment_manifest_parser_android.h
diff --git a/components/payments/content/android/payment_manifest_parser_android.h b/components/payments/content/android/payment_manifest_parser_android.h
deleted file mode 100644
index a2b7e22a5f6723a80d382feae3d6aba7f43f6fea..0000000000000000000000000000000000000000
--- a/components/payments/content/android/payment_manifest_parser_android.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// 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_PAYMENT_MANIFEST_PARSER_ANDROID_H_
-#define COMPONENTS_PAYMENTS_CONTENT_ANDROID_PAYMENT_MANIFEST_PARSER_ANDROID_H_
-
-#include <jni.h>
-
-#include <memory>
-#include <vector>
-
-#include "base/android/jni_android.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/macros.h"
-#include "components/payments/content/payment_manifest_parser_host.h"
-
-namespace payments {
-
-// Android wrapper for the host of the utility process that parses manifest
-// contents.
-class PaymentManifestParserAndroid {
- public:
- PaymentManifestParserAndroid();
- ~PaymentManifestParserAndroid();
-
- void StartUtilityProcess(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller);
-
- void ParsePaymentMethodManifest(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- const base::android::JavaParamRef<jstring>& jcontent,
- const base::android::JavaParamRef<jobject>& jcallback);
-
- void ParseWebAppManifest(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- const base::android::JavaParamRef<jstring>& jcontent,
- const base::android::JavaParamRef<jobject>& jcallback);
-
- // Deletes this object.
- void StopUtilityProcess(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller);
-
- private:
- PaymentManifestParserHost host_;
-
- DISALLOW_COPY_AND_ASSIGN(PaymentManifestParserAndroid);
-};
-
-bool RegisterPaymentManifestParser(JNIEnv* env);
-
-} // namespace payments
-
-#endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_PAYMENT_MANIFEST_PARSER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698