| Index: chrome/browser/payments/android/journey_logger_android.h
|
| diff --git a/components/payments/content/android/journey_logger_android.h b/chrome/browser/payments/android/journey_logger_android.h
|
| similarity index 80%
|
| rename from components/payments/content/android/journey_logger_android.h
|
| rename to chrome/browser/payments/android/journey_logger_android.h
|
| index 69bbc23e673ec5665d61afdc2d6bb9f48addd155..ff8c2c9c1f94d52b42411ecbc423949191e2dd9b 100644
|
| --- a/components/payments/content/android/journey_logger_android.h
|
| +++ b/chrome/browser/payments/android/journey_logger_android.h
|
| @@ -2,8 +2,8 @@
|
| // 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_JOURNEY_LOGGER_ANDROID_H_
|
| -#define COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_
|
| +#ifndef CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_
|
| +#define CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_
|
|
|
| #include <jni.h>
|
|
|
| @@ -19,7 +19,7 @@ class JourneyLoggerAndroid {
|
| // Registers the JNI bindings for this class.
|
| static bool Register(JNIEnv* env);
|
|
|
| - explicit JourneyLoggerAndroid(bool is_incognito);
|
| + JourneyLoggerAndroid(bool is_incognito, const std::string& url);
|
| ~JourneyLoggerAndroid();
|
|
|
| // Message from Java to destroy this object.
|
| @@ -49,6 +49,9 @@ class JourneyLoggerAndroid {
|
| jboolean jvalue);
|
| void SetShowCalled(JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& jcaller);
|
| + void SetEventOccurred(JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& jcaller,
|
| + jint jevent);
|
| void RecordJourneyStatsHistograms(
|
| JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& jcaller,
|
| @@ -62,4 +65,4 @@ class JourneyLoggerAndroid {
|
|
|
| } // namespace payments
|
|
|
| -#endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_
|
| +#endif // CHROME_BROWSER_PAYMENTS_ANDROID_JOURNEY_LOGGER_ANDROID_H_
|
|
|