|
Add component for feature engagement tracking.
The Feature Engagement Tracker provides a client-side backend for
displaying feature enlightenment or in-product help with a clean and
easy to use API to be consumed by the UI frontend. The backend behaves
as a black box and takes input about user behavior. Whenever the
frontend gives a trigger signal that in-product help could be displayed,
the backend will provide an answer to whether it is appropriate to show
it or not.
This CL adds a new component for this, with both a public C++ and a
public Java API. It also sets up the KeyedService factory in //chrome,
and hooks up the bridge between the C++ and Java implementations of the
backend. The Java version is a pass through, and all business logic is
implemented in C++. This means that callers do not have to care whether
they use the Java or C++ version.
It has been implemented as a component to ensure that other components
can use it directly, and to ensure that it would be easy to use the
same system across different platforms.
BUG= 706309
Review-Url: https://codereview.chromium.org/2782113002
Cr-Commit-Position: refs/heads/master@{#461215}
Committed: https://chromium.googlesource.com/chromium/src/+/9bf0cdf694d4267208da03b25ab45959606d1208
Total comments: 10
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+910 lines, -0 lines) |
Patch |
|
M |
chrome/android/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
chrome/android/java/src/org/chromium/chrome/browser/feature_engagement_tracker/FeatureEngagementTrackerFactory.java
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/android/java/src/org/chromium/chrome/browser/feature_engagement_tracker/OWNERS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/android/java_sources.gni
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/chrome_jni_registrar.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/android/feature_engagement_tracker/OWNERS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/android/feature_engagement_tracker/feature_engagement_tracker_factory_android.h
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/android/feature_engagement_tracker/feature_engagement_tracker_factory_android.cc
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/feature_engagement_tracker/DEPS
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/feature_engagement_tracker/OWNERS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/feature_engagement_tracker/feature_engagement_tracker_factory.h
|
View
|
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/feature_engagement_tracker/feature_engagement_tracker_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_constants.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_constants.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/DEPS
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/OWNERS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/README.md
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/android/feature_engagement_tracker_impl_android.h
|
View
|
1
2
3
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/android/feature_engagement_tracker_impl_android.cc
|
View
|
1
2
3
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/android/feature_engagement_tracker_jni_registrar.cc
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/android/java/src/org/chromium/components/feature_engagement_tracker/internal/FeatureEngagementTrackerImpl.java
|
View
|
1
2
3
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/feature_engagement_tracker_impl.h
|
View
|
1
2
3
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/feature_engagement_tracker_impl.cc
|
View
|
1
2
3
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/internal/feature_engagement_tracker_impl_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/public/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/public/android/feature_engagement_tracker_jni_registrar.h
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/public/android/java/src/org/chromium/components/feature_engagement_tracker/FeatureEngagementTracker.java
|
View
|
1
2
3
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/feature_engagement_tracker/public/feature_engagement_tracker.h
|
View
|
1
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
Total messages: 48 (29 generated)
|