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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2459143002: Avoid GURL allocations/copies/frees in RenderFrameImpl::willSendRequest (Closed)
Patch Set: compile fix Created 4 years, 2 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
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 63e654273416713f055af89a1d30269ef6b0516f..de4e14d44e7806d69429da488adc5d6ee51e0809 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -49,6 +49,7 @@ class WebRTCPeerConnectionHandlerClient;
class WebSpeechSynthesizer;
class WebSpeechSynthesizerClient;
class WebThemeEngine;
+class WebURL;
class WebURLResponse;
class WebURLRequest;
class WebWorkerContentSettingsClientProxy;
@@ -246,8 +247,7 @@ class CONTENT_EXPORT ContentRendererClient {
// |url|. If the function returns true, the url is changed to |new_url|.
virtual bool WillSendRequest(blink::WebFrame* frame,
ui::PageTransition transition_type,
- const GURL& url,
- const GURL& first_party_for_cookies,
+ const blink::WebURL& url,
GURL* new_url);
// Returns true if the request is associated with a document that is in

Powered by Google App Engine
This is Rietveld 408576698