| Index: chrome/browser/installable/installable_logging.cc
|
| diff --git a/chrome/browser/installable/installable_logging.cc b/chrome/browser/installable/installable_logging.cc
|
| index 9fd06cf0678447f2fd9fe581c428e70e4565e6fb..c580176e5b763d691ce0d498d97ea27a4f5fe03b 100644
|
| --- a/chrome/browser/installable/installable_logging.cc
|
| +++ b/chrome/browser/installable/installable_logging.cc
|
| @@ -61,6 +61,8 @@ static const char kIdsDoNotMatchMessage[] =
|
| "but they do not match";
|
| static const char kUrlNotSupportedForWebApkMessage[] =
|
| "a URL in the web manifest contains a username, password, or port";
|
| +static const char kInIncognitoMessage[] =
|
| + "the page is loaded in an incognito window";
|
|
|
| } // namespace
|
|
|
| @@ -145,6 +147,9 @@ void LogErrorToConsole(content::WebContents* web_contents,
|
| case URL_NOT_SUPPORTED_FOR_WEBAPK:
|
| pattern = kUrlNotSupportedForWebApkMessage;
|
| break;
|
| + case IN_INCOGNITO:
|
| + pattern = kInIncognitoMessage;
|
| + break;
|
| }
|
|
|
| if (!pattern)
|
|
|