Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: components/payments/content/android/journey_logger_android.h

Issue 2790253002: [Payments] Don't record CanMakePayment when in incognito mode. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698