| Index: chrome/common/chrome_content_client.cc
|
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
|
| index b705da133c5ab5decd532e8a3aeac726d62e3fac..854f7e5a2cd9e276e75aa7c8dc920dafeb5a5a5c 100644
|
| --- a/chrome/common/chrome_content_client.cc
|
| +++ b/chrome/common/chrome_content_client.cc
|
| @@ -551,3 +551,14 @@ bool ChromeContentClient::GetSandboxProfileForSandboxType(
|
| return false;
|
| }
|
| #endif
|
| +
|
| +void ChromeContentClient::AddSecureSchemesAndOrigins(
|
| + std::set<std::string>* schemes,
|
| + std::set<GURL>* origins) {
|
| + schemes->insert(content::kChromeUIScheme);
|
| + schemes->insert(extensions::kExtensionScheme);
|
| + schemes->insert(extensions::kExtensionResourceScheme);
|
| +
|
| + // TODO(kinuko): Handle command-line options for whitelisting
|
| + // insecure origins. crbug.com/441605
|
| +}
|
|
|