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

Unified Diff: chrome/common/chrome_content_client.h

Issue 1072933006: Support whitelisting to handle insecure origins as trustworthy origins (chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added test, added IsOriginSecure plumbing etc Created 5 years, 8 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
Index: chrome/common/chrome_content_client.h
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index 9e76754e89037fbd324bcf4f972931b8641335b4..b9e399e071adc5bbbe052ca0ed8d145758d81c0b 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -72,6 +72,8 @@ class ChromeContentClient : public content::ContentClient {
int sandbox_type,
int* sandbox_profile_resource_id) const override;
#endif
+
+ bool IsOriginTrustWorthy(const GURL& url) const override;
};
#endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698