| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| 6 #define CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 6 #define CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 jboolean jvalue); | 49 jboolean jvalue); |
| 50 void SetShowCalled(JNIEnv* env, | 50 void SetShowCalled(JNIEnv* env, |
| 51 const base::android::JavaParamRef<jobject>& jcaller); | 51 const base::android::JavaParamRef<jobject>& jcaller); |
| 52 void SetEventOccurred(JNIEnv* env, | 52 void SetEventOccurred(JNIEnv* env, |
| 53 const base::android::JavaParamRef<jobject>& jcaller, | 53 const base::android::JavaParamRef<jobject>& jcaller, |
| 54 jint jevent); | 54 jint jevent); |
| 55 void SetSelectedPaymentMethod( | 55 void SetSelectedPaymentMethod( |
| 56 JNIEnv* env, | 56 JNIEnv* env, |
| 57 const base::android::JavaParamRef<jobject>& jcaller, | 57 const base::android::JavaParamRef<jobject>& jcaller, |
| 58 jint jpayment_method); | 58 jint jpayment_method); |
| 59 void SetRequestedInformation( |
| 60 JNIEnv* env, |
| 61 const base::android::JavaParamRef<jobject>& jcaller, |
| 62 jboolean requested_shipping, |
| 63 jboolean requested_email, |
| 64 jboolean requested_phone, |
| 65 jboolean requested_name); |
| 59 void SetCompleted(JNIEnv* env, | 66 void SetCompleted(JNIEnv* env, |
| 60 const base::android::JavaParamRef<jobject>& jcaller); | 67 const base::android::JavaParamRef<jobject>& jcaller); |
| 61 void SetAborted(JNIEnv* env, | 68 void SetAborted(JNIEnv* env, |
| 62 const base::android::JavaParamRef<jobject>& jcaller, | 69 const base::android::JavaParamRef<jobject>& jcaller, |
| 63 jint jreason); | 70 jint jreason); |
| 64 void SetNotShown(JNIEnv* env, | 71 void SetNotShown(JNIEnv* env, |
| 65 const base::android::JavaParamRef<jobject>& jcaller, | 72 const base::android::JavaParamRef<jobject>& jcaller, |
| 66 jint jreason); | 73 jint jreason); |
| 67 | 74 |
| 68 private: | 75 private: |
| 69 JourneyLogger journey_logger_; | 76 JourneyLogger journey_logger_; |
| 70 | 77 |
| 71 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); | 78 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); |
| 72 }; | 79 }; |
| 73 | 80 |
| 74 } // namespace payments | 81 } // namespace payments |
| 75 | 82 |
| 76 #endif // CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 83 #endif // CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| OLD | NEW |