Index: content/browser/web_contents/web_contents_impl_unittest.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl_unittest.cc (revision 250813) |
+++ content/browser/web_contents/web_contents_impl_unittest.cc (working copy) |
@@ -6,6 +6,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "content/browser/frame_host/interstitial_page_impl.h" |
#include "content/browser/frame_host/navigation_entry_impl.h" |
+#include "content/browser/renderer_host/cross_site_transferring_request.h" |
#include "content/browser/renderer_host/render_view_host_impl.h" |
#include "content/browser/site_instance_impl.h" |
#include "content/browser/webui/web_ui_controller_factory_registry.h" |
@@ -1089,8 +1090,9 @@ |
std::vector<GURL> url_chain; |
url_chain.push_back(GURL()); |
contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( |
- pending_rvh, GlobalRequestID(0, 0), false, url_chain, Referrer(), |
- PAGE_TRANSITION_TYPED, 1, false); |
+ pending_rvh, GlobalRequestID(0, 0), |
+ scoped_ptr<CrossSiteTransferringRequest>(), url_chain, |
+ Referrer(), PAGE_TRANSITION_TYPED, 1, false); |
// Suppose the original renderer navigates now, while the unload request is in |
// flight. We should ignore it, wait for the unload ack, and let the pending |