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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2151743002: Pass validated URL to WebContentsObserver::DidFailProvidsionalLoad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9b445c8815676eb6171b6d95b893621abf2a7478..e06b86a6c16ca8a029451376cf518435f83b8350 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3226,11 +3226,10 @@ void WebContentsImpl::DidStartProvisionalLoad(
void WebContentsImpl::DidFailProvisionalLoadWithError(
RenderFrameHostImpl* render_frame_host,
const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {
- GURL validated_url(params.url);
FOR_EACH_OBSERVER(WebContentsObserver,
observers_,
DidFailProvisionalLoad(render_frame_host,
- validated_url,
+ params.url,
nasko 2016/07/14 00:39:21 The validation has been moved to NavigatorImpl::Di
lazyboy 2016/07/14 00:48:52 Right.
nasko 2016/07/14 14:22:46 Let's just modify the method to take the exact par
params.error_code,
params.error_description,
params.was_ignored_by_handler));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698