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

Unified Diff: chrome/browser/installable/installable_manager.h

Issue 2630523002: Ensure the entire page is secure for PWAs. (Closed)
Patch Set: Whitelist localhost 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
Index: chrome/browser/installable/installable_manager.h
diff --git a/chrome/browser/installable/installable_manager.h b/chrome/browser/installable/installable_manager.h
index 5dbd659be39bc1b4e2a7949840f77d0969a20d50..3f9074165337b689217f88db06053f794d45834c 100644
--- a/chrome/browser/installable/installable_manager.h
+++ b/chrome/browser/installable/installable_manager.h
@@ -81,6 +81,10 @@ class InstallableManager
explicit InstallableManager(content::WebContents* web_contents);
~InstallableManager() override;
+ // Returns true if the overall security state of |web_contents| is sufficient
+ // to be considered installable.
+ static bool IsContentSecure(content::WebContents* web_contents);
+
// Returns the minimum icon size in pixels for a site to be installable.
// TODO(dominickn): consolidate this concept with minimum_icon_size_in_px
// across all platforms.

Powered by Google App Engine
This is Rietveld 408576698