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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2557673006: Move Origin::GetURL() out of resource request critical path (Closed)
Patch Set: Created 4 years 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/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index f8f9126c4a63ae5fcdb4dfa4bd48e858a5dc4b34..b4b751e7d274cabef5f89ffd05f1a88013fca7f1 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -571,7 +571,7 @@ ResourceDispatcher::PendingRequestInfo::PendingRequestInfo(
std::unique_ptr<RequestPeer> peer,
ResourceType resource_type,
int origin_pid,
- const GURL& frame_origin,
+ const url::Origin& frame_origin,
const GURL& request_url,
bool download_to_file)
: peer(std::move(peer)),
@@ -681,7 +681,7 @@ int ResourceDispatcher::StartAsync(
std::unique_ptr<ResourceRequest> request,
int routing_id,
scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner,
- const GURL& frame_origin,
+ const url::Origin& frame_origin,
std::unique_ptr<RequestPeer> peer,
blink::WebURLRequest::LoadingIPCType ipc_type,
mojom::URLLoaderFactory* url_loader_factory,

Powered by Google App Engine
This is Rietveld 408576698