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

Issue 2557673006: Move Origin::GetURL() out of resource request critical path (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, Charlie Reis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move Origin::GetURL() out of resource request critical path We still call GetURL() when we receive the response. But it is not really necessary to do so, and we can eventually remove that and make code that operates on the GURL "origin" operate on an Origin. This patch also removes some dead code I found. BUG=348655 Committed: https://crrev.com/f32ade75b611e31c6f43914a93c3f7067bcc8cce Cr-Commit-Position: refs/heads/master@{#437380}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -24 lines) Patch
M content/child/request_extra_data.h View 3 chunks +4 lines, -3 lines 0 comments Download
M content/child/resource_dispatcher.h View 6 chunks +4 lines, -10 lines 0 comments Download
M content/child/resource_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/site_isolation_stats_gatherer.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/site_isolation_stats_gatherer.cc View 4 chunks +7 lines, -4 lines 2 comments Download
M content/child/url_response_body_consumer_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (10 generated)
Charlie Harrison
nick@ (also cc creis@), here's another quick CL concerning origins. I did some profiling, and ...
4 years ago (2016-12-08 21:15:27 UTC) #5
ncarter (slow)
lgtm https://codereview.chromium.org/2557673006/diff/1/content/child/site_isolation_stats_gatherer.cc File content/child/site_isolation_stats_gatherer.cc (right): https://codereview.chromium.org/2557673006/diff/1/content/child/site_isolation_stats_gatherer.cc#newcode128 content/child/site_isolation_stats_gatherer.cc:128: // Origin. Another option here is to delete ...
4 years ago (2016-12-08 21:39:49 UTC) #6
Charlie Harrison
Thanks! https://codereview.chromium.org/2557673006/diff/1/content/child/site_isolation_stats_gatherer.cc File content/child/site_isolation_stats_gatherer.cc (right): https://codereview.chromium.org/2557673006/diff/1/content/child/site_isolation_stats_gatherer.cc#newcode128 content/child/site_isolation_stats_gatherer.cc:128: // Origin. On 2016/12/08 21:39:49, ncarter wrote: > ...
4 years ago (2016-12-08 21:57:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557673006/1
4 years ago (2016-12-08 21:58:15 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-08 22:50:28 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-08 22:52:33 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f32ade75b611e31c6f43914a93c3f7067bcc8cce
Cr-Commit-Position: refs/heads/master@{#437380}

Powered by Google App Engine
This is Rietveld 408576698