Commit dd5ab01d authored by pkotwicz's avatar pkotwicz Committed by Commit Bot

[WebAPK] Add more GooglePlayInstallResults to track install failure.

This CL adds new GooglePlayInstallResults to better determine the install
failure reason when IPlayInstallService#installPackage() fails immediately

BUG=718475

Review-Url: https://codereview.chromium.org/2906363002
Cr-Original-Commit-Position: refs/heads/master@{#475537}
Review-Url: https://codereview.chromium.org/2917543002
Cr-Commit-Position: refs/heads/master@{#476276}
parent aa5ed397
...@@ -39,7 +39,11 @@ public class WebApkUma { ...@@ -39,7 +39,11 @@ public class WebApkUma {
public static final int GOOGLE_PLAY_INSTALL_FAILED_DOWNLOAD_ERROR = 8; public static final int GOOGLE_PLAY_INSTALL_FAILED_DOWNLOAD_ERROR = 8;
public static final int GOOGLE_PLAY_INSTALL_FAILED_INSTALL_ERROR = 9; public static final int GOOGLE_PLAY_INSTALL_FAILED_INSTALL_ERROR = 9;
public static final int GOOGLE_PLAY_INSTALL_FAILED_INSTALL_TIMEOUT = 10; public static final int GOOGLE_PLAY_INSTALL_FAILED_INSTALL_TIMEOUT = 10;
public static final int GOOGLE_PLAY_INSTALL_RESULT_MAX = 11; public static final int GOOGLE_PLAY_INSTALL_REQUEST_FAILED_POLICY_DISABLED = 11;
public static final int GOOGLE_PLAY_INSTALL_REQUEST_FAILED_UNKNOWN_ACCOUNT = 12;
public static final int GOOGLE_PLAY_INSTALL_REQUEST_FAILED_NETWORK_ERROR = 13;
public static final int GOOGLE_PLAY_INSTALL_REQUSET_FAILED_RESOLVE_ERROR = 14;
public static final int GOOGLE_PLAY_INSTALL_RESULT_MAX = 14;
public static final String HISTOGRAM_UPDATE_REQUEST_SENT = public static final String HISTOGRAM_UPDATE_REQUEST_SENT =
"WebApk.Update.RequestSent"; "WebApk.Update.RequestSent";
......
...@@ -37051,6 +37051,11 @@ from previous Chrome versions. ...@@ -37051,6 +37051,11 @@ from previous Chrome versions.
<int value="8" label="Download error"/> <int value="8" label="Download error"/>
<int value="9" label="Install error"/> <int value="9" label="Install error"/>
<int value="10" label="Install timed out"/> <int value="10" label="Install timed out"/>
<int value="11" label="Request to Play install API failed - Policy disabled"/>
<int value="12"
label="Request to Play install API failed - User not signed into Play"/>
<int value="13" label="Request to Play install API failed - Network Error"/>
<int value="14" label="Request to Play install API failed - Resolve Error"/>
</enum> </enum>
<enum name="WebApkGooglePlayInstallState" type="int"> <enum name="WebApkGooglePlayInstallState" type="int">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment