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

Unified Diff: components/url_formatter/elide_url.h

Issue 1843063002: Don't show scheme in permission prompts if it is HTTPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: components/url_formatter/elide_url.h
diff --git a/components/url_formatter/elide_url.h b/components/url_formatter/elide_url.h
index 5a05ceffa74ea7732ad4fee684207774a89d0684..3ef1ccdd05c506acef8f5b2abfa607a559fec6d7 100644
--- a/components/url_formatter/elide_url.h
+++ b/components/url_formatter/elide_url.h
@@ -77,7 +77,7 @@ base::string16 FormatUrlForSecurityDisplay(const GURL& origin,
// Just like |FormatUrlForSecurityDisplay|, but also:
//
-// - Omits the scheme if SchemeIsHTTPOrHTTPS().
+// - Omits the scheme if scheme is HTTPS.
base::string16 FormatUrlForSecurityDisplayOmitScheme(
const GURL& origin,
const std::string& languages);

Powered by Google App Engine
This is Rietveld 408576698