Index: content/public/browser/navigation_handle.h |
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h |
index 007cd9da717135ea9779f9b1bb015445b4a2f6a8..e61eeb0a623b27f26e95160b5f6f4a71f19590ad 100644 |
--- a/content/public/browser/navigation_handle.h |
+++ b/content/public/browser/navigation_handle.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
+#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/navigation_throttle.h" |
#include "content/public/common/referrer.h" |
@@ -204,7 +205,16 @@ class CONTENT_EXPORT NavigationHandle { |
// Simulates the reception of the network response. |
virtual NavigationThrottle::ThrottleCheckResult |
- CallWillProcessResponseForTesting(RenderFrameHost* render_frame_host) = 0; |
+ CallWillProcessResponseForTesting( |
+ RenderFrameHost* render_frame_host, |
+ scoped_refptr<net::HttpResponseHeaders> response_headers) = 0; |
+ |
+ // Simulates the navigation being committed. |
+ virtual void CallDidCommitNavigationForTesting( |
+ const GURL& url, |
+ ui::PageTransition transition, |
+ bool same_page, |
clamy
2016/09/08 13:11:07
I only see one instance of CallDidCommitNavigation
megjablon
2016/09/08 18:15:25
Removed.
|
+ RenderFrameHost* render_frame_host) = 0; |
clamy
2016/09/08 13:11:07
It would seem less error prone to not have a RFH t
megjablon
2016/09/08 18:15:25
Good call. Done.
|
// The NavigationData that the embedder returned from |
// ResourceDispatcherHostDelegate::GetNavigationData during commit. This will |