Chromium Code Reviews| 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..9fd06cf0678447f2fd9fe581c428e70e4565e6fb 100644 |
| --- a/chrome/browser/installable/installable_logging.cc |
| +++ b/chrome/browser/installable/installable_logging.cc |
| @@ -59,6 +59,8 @@ 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 kUrlNotSupportedForWebApkMessage[] = |
|
dominickn
2016/08/29 00:15:41
Nit: you removed checking the username for a port,
|
| + "a URL in the web manifest contains a username, password, or port"; |
| } // namespace |
| @@ -140,6 +142,9 @@ void LogErrorToConsole(content::WebContents* web_contents, |
| case IDS_DO_NOT_MATCH: |
| pattern = kIdsDoNotMatchMessage; |
| break; |
| + case URL_NOT_SUPPORTED_FOR_WEBAPK: |
| + pattern = kUrlNotSupportedForWebApkMessage; |
| + break; |
| } |
| if (!pattern) |