Commit 20d89220 authored by Joe DeBlasio's avatar Joe DeBlasio Committed by Commit Bot

Add 'Details' link to page info box for HTTP sites on Android.

The 'Details' link in the page info box was previously only shown for
HTTPS pages. This CL provides this link for http-bad pages to help
provide additional context for why HTTP is bad.

Bug: 679532
Change-Id: I7f5af068d49c52df2519c2eff3f7cd87a24aa502
Reviewed-on: https://chromium-review.googlesource.com/c/1286895Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601748}
parent 9d6307e3
......@@ -359,12 +359,10 @@ public class PageInfoController
}
/**
* Whether to show a 'Details' link to the connection info popup. The link is only shown for
* HTTPS connections.
* Whether to show a 'Details' link to the connection info popup.
*/
private boolean isConnectionDetailsLinkVisible() {
return mContentPublisher == null && !isShowingOfflinePage() && !isShowingPreview()
&& UrlConstants.HTTPS_SCHEME.equals(mScheme);
return mContentPublisher == null && !isShowingOfflinePage() && !isShowingPreview();
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment