|
|
Move mixed content settings histograms into browser
This CL moves the content settings histograms for mixed content into the
browser, called via a separate FrameClient method from the existing
FrameLoaderClient::allowDisplayingInsecureContent/allowRunningInsecureContent
methods.
The purpose of doing this is to make mixed content checks work with
OOPIFs. The histograms require knowledge of the full URL of a possibly
remote frame, whereas checking whether the content is allowed can be
done from the local frame client. Thus, this CL separates out the
histogram logic (and makes it available on a RemoteFrameClient) from the
content settings check (which is always done on the LocalFrame that
loaded the mixed content, since the content settings for mixed content
are always applied per WebContents).
BUG= 486936
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+354 lines, -185 lines) |
Patch |
 |
M |
chrome/browser/content_settings/tab_specific_content_settings.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/tab_specific_content_settings.cc
|
View
|
|
3 chunks |
+187 lines, -0 lines |
4 comments
|
Download
|
 |
M |
chrome/renderer/content_settings_observer.cc
|
View
|
|
4 chunks |
+0 lines, -184 lines |
1 comment
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_delegate.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_proxy_host.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_proxy_host.cc
|
View
|
|
2 chunks |
+16 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/renderer/render_frame_proxy.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_proxy.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameClient.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/EmptyClients.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
View
|
|
4 chunks |
+6 lines, -1 line |
3 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/RemoteFrameClientImpl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
|
View
|
1
2
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebFrameClient.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebRemoteFrameClient.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|