Index: content/test/test_web_contents.cc |
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
index 28c39801e8b8156197ccb2e036b1ee0a4bdf8aa9..26431327a47d02fb66459afcb3bf0a7eaa0a0133 100644 |
--- a/content/test/test_web_contents.cc |
+++ b/content/test/test_web_contents.cc |
@@ -111,6 +111,10 @@ void TestWebContents::TestDidNavigateWithReferrer( |
rfhi->frame_tree_node()->navigator()->DidNavigate(rfhi, params); |
} |
+const std::string& TestWebContents::GetSaveFrameHeaders() { |
+ return save_frame_headers_; |
+} |
+ |
bool TestWebContents::CrossProcessNavigationPending() { |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableBrowserSideNavigation)) { |
@@ -285,4 +289,10 @@ void TestWebContents::ShowCreatedWidget(int route_id, |
void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { |
} |
+void TestWebContents::SaveFrameWithHeaders(const GURL& url, |
+ const Referrer& referrer, |
+ const std::string& headers) { |
+ save_frame_headers_ = headers; |
+} |
+ |
} // namespace content |