Chromium Code Reviews| 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..d17ca23f43d074efc37eb82e5a211c75ee7a1656 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); |
| + explicit JourneyLoggerAndroid(bool is_incognito, std::string url); |
|
Mathieu
2017/04/10 01:03:01
const std::string& url?
Mathieu
2017/04/10 01:03:01
no explicit
sebsg
2017/04/10 15:30:28
Done.
sebsg
2017/04/10 15:30:28
Done.
|
| ~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 SetCurrentStep(JNIEnv* env, |
| + const base::android::JavaParamRef<jobject>& jcaller, |
| + jint jstep); |
| 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_ |