|
WebView: Add channel info for UMA
Inspect the WebView provider package name to determine the channel. This
only works for Monochrome (on Android N+); stand-alone WebView uses the
same package across channels, and will still be reported as "unknown".
Move version_utils from metrics/net/ to metrics/, and move the
channel-checking code from chrome/browser/ to version_info/, so that
WebView can use them.
Split off the part of version_utils that depends on //ui/base, since
most users of version_utils don't need that part, and it pulls in a huge
tree of dependencies.
BUG= 711084
Review-Url: https://codereview.chromium.org/2879703002
Cr-Commit-Position: refs/heads/master@{#477124}
Committed: https://chromium.googlesource.com/chromium/src/+/234ec23e9f56bb01af5c59922681b114da3aa540
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+162 lines, -125 lines) |
Patch |
|
M |
android_webview/browser/aw_metrics_service_client.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/aw_metrics_service_client.cc
|
View
|
1
2
3
4
|
6 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
|
M |
android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwMetricsServiceClient.java
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/metrics/chrome_metrics_service_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/channel_info.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/channel_info_android.cc
|
View
|
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
components/metrics/BUILD.gn
|
View
|
1
2
3
4
5
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
D |
components/metrics/net/version_utils.h
|
View
|
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
|
D |
components/metrics/net/version_utils.cc
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
A + |
components/metrics/version_utils.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
A + |
components/metrics/version_utils.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
components/sync/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
components/sync/device_info/local_device_info_provider_impl_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
components/version_info/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
A |
components/version_info/channel_android.h
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/version_info/channel_android.cc
|
View
|
1
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/version_info/version_info.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
components/version_info/version_info.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
|
A |
components/version_info/version_string.h
|
View
|
1
2
3
4
5
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/version_info/version_string.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/common/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ios/chrome/common/channel_info.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ios/chrome/today_extension/today_metrics_logger.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 62 (34 generated)
|