| 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 COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| 6 #define COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 6 #define COMPONENTS_PAYMENTS_CONTENT_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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void IncrementSelectionAdds( | 42 void IncrementSelectionAdds( |
| 43 JNIEnv* env, | 43 JNIEnv* env, |
| 44 const base::android::JavaParamRef<jobject>& jcaller, | 44 const base::android::JavaParamRef<jobject>& jcaller, |
| 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 SetIsIncognito(JNIEnv* env, |
| 53 const base::android::JavaParamRef<jobject>& jcaller); |
| 52 void RecordJourneyStatsHistograms( | 54 void RecordJourneyStatsHistograms( |
| 53 JNIEnv* env, | 55 JNIEnv* env, |
| 54 const base::android::JavaParamRef<jobject>& jcaller, | 56 const base::android::JavaParamRef<jobject>& jcaller, |
| 55 jint jcompletion_status); | 57 jint jcompletion_status); |
| 56 | 58 |
| 57 private: | 59 private: |
| 58 JourneyLogger journey_logger_; | 60 JourneyLogger journey_logger_; |
| 59 | 61 |
| 60 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); | 62 DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid); |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 } // namespace payments | 65 } // namespace payments |
| 64 | 66 |
| 65 #endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_ | 67 #endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_ |
| OLD | NEW |