| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 jint jsection); | 45 jint jsection); |
| 46 void SetCanMakePaymentValue( | 46 void SetCanMakePaymentValue( |
| 47 JNIEnv* env, | 47 JNIEnv* env, |
| 48 const base::android::JavaParamRef<jobject>& jcaller, | 48 const base::android::JavaParamRef<jobject>& jcaller, |
| 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( |
| 56 JNIEnv* env, |
| 57 const base::android::JavaParamRef<jobject>& jcaller, |
| 58 jint jpayment_method); |
| 55 void SetCompleted(JNIEnv* env, | 59 void SetCompleted(JNIEnv* env, |
| 56 const base::android::JavaParamRef<jobject>& jcaller); | 60 const base::android::JavaParamRef<jobject>& jcaller); |
| 57 void SetAborted(JNIEnv* env, | 61 void SetAborted(JNIEnv* env, |
| 58 const base::android::JavaParamRef<jobject>& jcaller, | 62 const base::android::JavaParamRef<jobject>& jcaller, |
| 59 jint jreason); | 63 jint jreason); |
| 60 void SetNotShown(JNIEnv* env, | 64 void SetNotShown(JNIEnv* env, |
| 61 const base::android::JavaParamRef<jobject>& jcaller, | 65 const base::android::JavaParamRef<jobject>& jcaller, |
| 62 jint jreason); | 66 jint jreason); |
| 63 | 67 |
| 64 private: | 68 private: |
| 65 JourneyLogger journey_logger_; | 69 JourneyLogger journey_logger_; |
| 66 | 70 |
| 67 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); | 71 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); |
| 68 }; | 72 }; |
| 69 | 73 |
| 70 } // namespace payments | 74 } // namespace payments |
| 71 | 75 |
| 72 #endif // CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 76 #endif // CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| OLD | NEW |