Commit 063275b4 authored by Rakina Zata Amni's avatar Rakina Zata Amni Committed by Commit Bot

Remove socket address from FrameNavigateParams

It is not used outside of test code, so should be safe to remove it.

Bug: 1131832
Change-Id: Id47091d52c8487cdf519cc4b3d69a660226a8a38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2428506Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810396}
parent 50eb145b
...@@ -74,9 +74,6 @@ struct CONTENT_EXPORT FrameNavigateParams : public IPC::NoParams { ...@@ -74,9 +74,6 @@ struct CONTENT_EXPORT FrameNavigateParams : public IPC::NoParams {
// Contents MIME type of main frame. // Contents MIME type of main frame.
std::string contents_mime_type; std::string contents_mime_type;
// Remote address of the socket which fetched this resource.
net::HostPortPair socket_address;
}; };
} // namespace content } // namespace content
......
...@@ -207,8 +207,6 @@ void TestRenderFrameHost::SimulateNavigationCommit(const GURL& url) { ...@@ -207,8 +207,6 @@ void TestRenderFrameHost::SimulateNavigationCommit(const GURL& url) {
params.contents_mime_type = "text/html"; params.contents_mime_type = "text/html";
params.method = "GET"; params.method = "GET";
params.http_status_code = 200; params.http_status_code = 200;
params.socket_address.set_host("2001:db8::1");
params.socket_address.set_port(80);
params.history_list_was_cleared = simulate_history_list_was_cleared_; params.history_list_was_cleared = simulate_history_list_was_cleared_;
params.original_request_url = url; params.original_request_url = url;
...@@ -593,8 +591,6 @@ TestRenderFrameHost::BuildDidCommitParams(int nav_entry_id, ...@@ -593,8 +591,6 @@ TestRenderFrameHost::BuildDidCommitParams(int nav_entry_id,
params->contents_mime_type = "text/html"; params->contents_mime_type = "text/html";
params->method = "GET"; params->method = "GET";
params->http_status_code = response_code; params->http_status_code = response_code;
params->socket_address.set_host("2001:db8::1");
params->socket_address.set_port(80);
params->history_list_was_cleared = simulate_history_list_was_cleared_; params->history_list_was_cleared = simulate_history_list_was_cleared_;
params->original_request_url = url; params->original_request_url = url;
......
...@@ -167,7 +167,6 @@ void TestWebContents::TestDidNavigateWithSequenceNumber( ...@@ -167,7 +167,6 @@ void TestWebContents::TestDidNavigateWithSequenceNumber(
params.redirects = std::vector<GURL>(); params.redirects = std::vector<GURL>();
params.should_update_history = true; params.should_update_history = true;
params.contents_mime_type = std::string("text/html"); params.contents_mime_type = std::string("text/html");
params.socket_address = net::HostPortPair();
params.intended_as_new_entry = did_create_new_entry; params.intended_as_new_entry = did_create_new_entry;
params.did_create_new_entry = did_create_new_entry; params.did_create_new_entry = did_create_new_entry;
params.should_replace_current_entry = false; params.should_replace_current_entry = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment