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

Unified Diff: components/payments/content/android/journey_logger_android.h

Issue 2808513002: [Payments] Add PaymentRequest checkout funnel UKMs. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: components/payments/content/android/journey_logger_android.h
diff --git a/components/payments/content/android/journey_logger_android.h b/components/payments/content/android/journey_logger_android.h
deleted file mode 100644
index 69bbc23e673ec5665d61afdc2d6bb9f48addd155..0000000000000000000000000000000000000000
--- a/components/payments/content/android/journey_logger_android.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// 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_
-
-#include <jni.h>
-
-#include "base/android/scoped_java_ref.h"
-#include "base/macros.h"
-#include "components/payments/core/journey_logger.h"
-
-namespace payments {
-
-// Forwarding calls to payments::JourneyLogger.
-class JourneyLoggerAndroid {
- public:
- // Registers the JNI bindings for this class.
- static bool Register(JNIEnv* env);
-
- explicit JourneyLoggerAndroid(bool is_incognito);
- ~JourneyLoggerAndroid();
-
- // Message from Java to destroy this object.
- void Destroy(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller);
-
- void SetNumberOfSuggestionsShown(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jint jsection,
- jint jnumber);
- void IncrementSelectionChanges(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jint jsection);
- void IncrementSelectionEdits(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jint jsection);
- void IncrementSelectionAdds(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jint jsection);
- void SetCanMakePaymentValue(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jboolean jvalue);
- void SetShowCalled(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller);
- void RecordJourneyStatsHistograms(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller,
- jint jcompletion_status);
-
- private:
- JourneyLogger journey_logger_;
-
- DISALLOW_COPY_AND_ASSIGN(JourneyLoggerAndroid);
-};
-
-} // namespace payments
-
-#endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_JOURNEY_LOGGER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698