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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 1192003006: Cache Storage: restrict access to secure origins (Chromium-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add chrome-search scheme to secure scheme list Created 5 years, 5 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 | « no previous file | content/browser/bad_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 604fffc60812af22c45c099e8c5b4e30e2fe6129..4bd2920fde923189308ef03c44d8c54bb2a30d79 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -550,6 +550,7 @@ bool ChromeContentClient::GetSandboxProfileForSandboxType(
void ChromeContentClient::AddSecureSchemesAndOrigins(
std::set<std::string>* schemes,
std::set<GURL>* origins) {
+ schemes->insert(chrome::kChromeSearchScheme);
schemes->insert(content::kChromeUIScheme);
schemes->insert(extensions::kExtensionScheme);
schemes->insert(extensions::kExtensionResourceScheme);
« no previous file with comments | « no previous file | content/browser/bad_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698