| Index: chrome/browser/installable/installable_logging.cc
|
| diff --git a/chrome/browser/installable/installable_logging.cc b/chrome/browser/installable/installable_logging.cc
|
| index 8e54ce0a5918f67360e23ad28c38576f9114f828..3afa80f04511abf9ecf15e4bdfcd5416c6993c10 100644
|
| --- a/chrome/browser/installable/installable_logging.cc
|
| +++ b/chrome/browser/installable/installable_logging.cc
|
| @@ -59,6 +59,11 @@ static const char kNoIdSpecifiedMessage[] =
|
| static const char kIdsDoNotMatchMessage[] =
|
| "a Play Store app URL and Play Store ID were specified in the manifest, "
|
| "but they do not match";
|
| +static const char kUrlUsernameAndPasswordNotSupportedForWebApkMessage[] =
|
| + "usernames and passwords in URLs in the web manifest are not supported for "
|
| + "WebAPKs";
|
| +static const char kUrlPortNotSupportedForWebApkMessage[] =
|
| + "explicit port in URLs in the web manifest is not supported for WebAPKs";
|
|
|
| } // namespace
|
|
|
| @@ -140,6 +145,12 @@ void LogErrorToConsole(content::WebContents* web_contents,
|
| case IDS_DO_NOT_MATCH:
|
| pattern = kIdsDoNotMatchMessage;
|
| break;
|
| + case URL_USERNAME_AND_PASSWORD_NOT_SUPPORTED_FOR_WEBAPK:
|
| + pattern = kUrlUsernameAndPasswordNotSupportedForWebApkMessage;
|
| + break;
|
| + case URL_PORT_NOT_SUPPORTED_FOR_WEBAPK:
|
| + pattern = kUrlPortNotSupportedForWebApkMessage;
|
| + break;
|
| }
|
|
|
| if (!pattern)
|
|
|