| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index a0bf9b3dfb9d90852e95cd8e6e3ee4841b054992..d91f20e3e7315f180901d898ff610e73001e66ad 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -552,7 +552,6 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
|
| OnDomOperationResponse)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeThemeColor,
|
| OnThemeColorChanged)
|
| - IPC_MESSAGE_HANDLER(FrameHostMsg_DidDetectXSS, OnDidDetectXSS)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishDocumentLoad,
|
| OnDocumentLoadedInFrame)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishLoad, OnDidFinishLoad)
|
| @@ -2678,26 +2677,6 @@ void WebContentsImpl::OnDidRunInsecureContent(
|
| GetController().GetBrowserContext());
|
| }
|
|
|
| -
|
| -void WebContentsImpl::OnDidDetectXSS(int32 page_id,
|
| - const GURL& url,
|
| - bool blocked_entire_page) {
|
| - if (!blocked_entire_page)
|
| - return;
|
| -
|
| - int entry_index = controller_.GetEntryIndexWithPageID(
|
| - GetRenderViewHost()->GetSiteInstance(), page_id);
|
| - if (entry_index < 0)
|
| - return;
|
| -
|
| - NavigationEntryImpl* entry = NavigationEntryImpl::FromNavigationEntry(
|
| - controller_.GetEntryAtIndex(entry_index));
|
| - if (!entry)
|
| - return;
|
| -
|
| - entry->set_xss_detected(true);
|
| -}
|
| -
|
| void WebContentsImpl::OnDocumentLoadedInFrame() {
|
| CHECK(render_frame_message_source_);
|
| CHECK(!render_view_message_source_);
|
|
|