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

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 2151743002: Pass validated URL to WebContentsObserver::DidFailProvidsionalLoad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/browser/invalidate_type.h" 9 #include "content/public/browser/invalidate_type.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // represented by |render_frame_host|. 49 // represented by |render_frame_host|.
50 virtual void DidStartProvisionalLoad( 50 virtual void DidStartProvisionalLoad(
51 RenderFrameHostImpl* render_frame_host, 51 RenderFrameHostImpl* render_frame_host,
52 const GURL& validated_url, 52 const GURL& validated_url,
53 bool is_error_page, 53 bool is_error_page,
54 bool is_iframe_srcdoc) {} 54 bool is_iframe_srcdoc) {}
55 55
56 // A provisional load in |render_frame_host| failed. 56 // A provisional load in |render_frame_host| failed.
57 virtual void DidFailProvisionalLoadWithError( 57 virtual void DidFailProvisionalLoadWithError(
58 RenderFrameHostImpl* render_frame_host, 58 RenderFrameHostImpl* render_frame_host,
59 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} 59 const GURL& validated_url,
60 int error_code,
61 const base::string16& error_description,
62 bool was_ignored_by_handler) {}
60 63
61 // Document load in |render_frame_host| failed. 64 // Document load in |render_frame_host| failed.
62 virtual void DidFailLoadWithError( 65 virtual void DidFailLoadWithError(
63 RenderFrameHostImpl* render_frame_host, 66 RenderFrameHostImpl* render_frame_host,
64 const GURL& url, 67 const GURL& url,
65 int error_code, 68 int error_code,
66 const base::string16& error_description, 69 const base::string16& error_description,
67 bool was_ignored_by_handler) {} 70 bool was_ignored_by_handler) {}
68 71
69 // A navigation was committed in |render_frame_host|. 72 // A navigation was committed in |render_frame_host|.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // throbber stopping. 130 // throbber stopping.
128 virtual void DidStopLoading() {} 131 virtual void DidStopLoading() {}
129 132
130 // The load progress was changed. 133 // The load progress was changed.
131 virtual void DidChangeLoadProgress() {} 134 virtual void DidChangeLoadProgress() {}
132 }; 135 };
133 136
134 } // namspace content 137 } // namspace content
135 138
136 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 139 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698