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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 395093002: Remove RenderFrameImpl::willRequestAfterPreconnect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index af2987fda5b30c540abe6ed6ac8ce081e87930e2..fd5708e09108cb4a495fb386d4ada5dbc24702fe 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2329,24 +2329,6 @@ void RenderFrameImpl::clearContextMenu() {
context_menu_node_.reset();
}
-void RenderFrameImpl::willRequestAfterPreconnect(
- blink::WebLocalFrame* frame,
- blink::WebURLRequest& request) {
- DCHECK(!frame_ || frame_ == frame);
- // FIXME(kohei): This will never be set.
- WebString custom_user_agent;
-
- DCHECK(!request.extraData());
-
- bool was_after_preconnect_request = true;
- // The args after |was_after_preconnect_request| are not used, and set to
- // correct values at |willSendRequest|.
- RequestExtraData* extra_data = new RequestExtraData();
- extra_data->set_custom_user_agent(custom_user_agent);
- extra_data->set_was_after_preconnect_request(was_after_preconnect_request);
- request.setExtraData(extra_data);
-}
-
void RenderFrameImpl::willSendRequest(
blink::WebLocalFrame* frame,
unsigned identifier,
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698