Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: extensions/shell/common/shell_content_client.cc

Issue 2623353002: Share schemes needed for mixed content checking between the browser and renderer. (Closed)
Patch Set: remove unused public methods Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/common/shell_content_client.cc
diff --git a/extensions/shell/common/shell_content_client.cc b/extensions/shell/common/shell_content_client.cc
index 5c98fd7367982ccf7963727846bdef597178e769..9abdbeb285c8b713def659515038a1a6455ab39d 100644
--- a/extensions/shell/common/shell_content_client.cc
+++ b/extensions/shell/common/shell_content_client.cc
@@ -77,6 +77,8 @@ void ShellContentClient::AddPepperPlugins(
void ShellContentClient::AddAdditionalSchemes(Schemes* schemes) {
schemes->standard_schemes.push_back(extensions::kExtensionScheme);
schemes->savable_schemes.push_back(kExtensionScheme);
+ schemes->secure_schemes.push_back(kExtensionScheme);
+ schemes->cors_enabled_schemes.push_back(kExtensionScheme);
}
std::string ShellContentClient::GetUserAgent() const {
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698