| Index: chrome/common/chrome_content_client.cc
|
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
|
| index abe96ad6858cd0afd281a654dc30a9970a26e0ac..9d6ebf9a07a4a67ab746cd9725b2ea7708790941 100644
|
| --- a/chrome/common/chrome_content_client.cc
|
| +++ b/chrome/common/chrome_content_client.cc
|
| @@ -593,6 +593,11 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes* schemes) {
|
|
|
| schemes->no_access_schemes.push_back(chrome::kChromeNativeScheme);
|
|
|
| + // chrome-native: is a scheme used for placeholder navigations that allow
|
| + // UIs to be drawn with platform native widgets instead of HTML. These pages
|
| + // should be treated as empty documents that can commit synchronously.
|
| + schemes->empty_document_schemes.push_back(chrome::kChromeNativeScheme);
|
| +
|
| #if BUILDFLAG(ENABLE_EXTENSIONS)
|
| if (extensions::feature_util::ExtensionServiceWorkersEnabled())
|
| schemes->service_worker_schemes.push_back(extensions::kExtensionScheme);
|
|
|