DescriptionTrigger Dangerous indicator for unsafe subresources
Previously, the Dangerous indicator was not firing for subresources
flagged by Safe Browsing as unsafe. This is because marking a
subresource as unsafe was not triggering an omnibox update. We want to
trigger an omnibox update whenever a URL is marked as
whitelisted (either pending, meaning that an interstitial is showing, or
whitelisted, meaning that an interstitial has been clicked through) in
SafeBrowsingUIManager.
To do so, this CL renames WebContentsImpl::DidChangeVisibleSSLState() to
DidChangeVisibleSecurityState() (since it's no longer just SSL
information that can affect the omnibox security UI) and moves it to
WebContents so that it can be called from SafeBrowsingUIManager.
BUG=659713
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/8bb181295c47ba4d74a626f809a1a27423544f2f
Cr-Commit-Position: refs/heads/master@{#428223}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : add missing #include #
Total comments: 2
Patch Set 4 : protip: #include the .h, not the .cc #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 34 (20 generated)
|