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

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

Issue 2459143002: Avoid GURL allocations/copies/frees in RenderFrameImpl::willSendRequest (Closed)
Patch Set: s/host/host_piece Created 4 years, 1 month 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 b347604e571556d4c72af7e2291f72e356110201..924bfdacade59ddba32f15b1a83fd11b086e04fd 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -48,6 +48,7 @@ class WebRTCPeerConnectionHandlerClient;
class WebSpeechSynthesizer;
class WebSpeechSynthesizerClient;
class WebThemeEngine;
+class WebURL;
class WebURLResponse;
class WebURLRequest;
class WebWorkerContentSettingsClientProxy;
@@ -245,8 +246,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
« no previous file with comments | « chrome/renderer/extensions/resource_request_policy.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698