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

Issue 2379293002: Rename RFO::FrameWillClose() to reflect its actual purpose. (Closed)

Created:
4 years, 2 months ago by dcheng
Modified:
4 years, 2 months ago
CC:
browser-components-watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, estade+watch_chromium.org, feature-media-reviews_chromium.org, gcasto+watchlist_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename RFO::FrameWillClose() to reflect its actual purpose. Frame detach and frame close don't really have any relationship. Update the naming and comments to make this clear. BUG=472140 Committed: https://crrev.com/dbf1570978e01431602502e73b19ed69d8f503a2 Cr-Commit-Position: refs/heads/master@{#422865}

Patch Set 1 #

Patch Set 2 : main frame only #

Patch Set 3 : Less crashing #

Total comments: 3

Patch Set 4 : Restore RVO to PageLoadHistograms #

Total comments: 9

Patch Set 5 : Address comments. #

Patch Set 6 : Fix silly typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -64 lines) Patch
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/page_load_histograms.h View 1 2 3 4 5 3 chunks +27 lines, -7 lines 0 comments Download
M chrome/renderer/page_load_histograms.cc View 1 2 3 6 chunks +23 lines, -23 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/render_frame_observer.h View 3 chunks +7 lines, -10 lines 0 comments Download
M content/public/renderer/render_view_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 1 2 6 chunks +17 lines, -13 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (29 generated)
dcheng
+csharrison for chrome/renderer/page_load_histograms.* +vabr for components/autofill +miu for content/renderer/media +jochen for chrome/renderer/chrome_content_renderer_client.*, content/public, and content/renderer/render_frame_impl.* ...
4 years, 2 months ago (2016-09-30 06:20:42 UTC) #12
miu
content/renderer/media lgtm
4 years, 2 months ago (2016-09-30 06:41:30 UTC) #13
dcheng
Unfortunately, it looks like PageLoadHistograms tries to read a bunch of random values off the ...
4 years, 2 months ago (2016-09-30 08:17:18 UTC) #16
vabr (Chromium)
Hi dcheng@, Based on your last update, I'm not sure if you are still asking ...
4 years, 2 months ago (2016-09-30 11:47:51 UTC) #17
Charlie Harrison
On 2016/09/30 08:17:18, dcheng wrote: > Unfortunately, it looks like PageLoadHistograms tries to read a ...
4 years, 2 months ago (2016-09-30 12:20:51 UTC) #18
dcheng
On 2016/09/30 11:47:51, vabr (Chromium) wrote: > Hi dcheng@, > Based on your last update, ...
4 years, 2 months ago (2016-09-30 15:30:22 UTC) #19
dcheng
On 2016/09/30 12:20:51, Charlie Harrison OOO Sep 28-29 wrote: > On 2016/09/30 08:17:18, dcheng wrote: ...
4 years, 2 months ago (2016-09-30 15:30:59 UTC) #20
Charlie Harrison
On 2016/09/30 15:30:59, dcheng wrote: > On 2016/09/30 12:20:51, Charlie Harrison OOO Sep 28-29 wrote: ...
4 years, 2 months ago (2016-09-30 15:34:27 UTC) #21
vabr (Chromium)
On 2016/09/30 15:30:22, dcheng wrote: > On 2016/09/30 11:47:51, vabr (Chromium) wrote: > > Hi ...
4 years, 2 months ago (2016-09-30 15:36:13 UTC) #22
dcheng
PTAL, added the RVO
4 years, 2 months ago (2016-09-30 17:14:35 UTC) #24
Charlie Harrison
https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc File chrome/renderer/page_load_histograms.cc (right): https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc#newcode629 chrome/renderer/page_load_histograms.cc:629: void PageLoadHistograms::Helper::OnDestruct() { Why is this necessary? Might make ...
4 years, 2 months ago (2016-09-30 18:56:56 UTC) #28
jochen (gone - plz use gerrit)
lgtm with comment https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.h File chrome/renderer/page_load_histograms.h (right): https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.h#newcode61 chrome/renderer/page_load_histograms.h:61: explicit Helper(PageLoadHistograms* histograms); should there be ...
4 years, 2 months ago (2016-10-04 09:32:44 UTC) #29
dcheng
https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc File chrome/renderer/page_load_histograms.cc (right): https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc#newcode629 chrome/renderer/page_load_histograms.cc:629: void PageLoadHistograms::Helper::OnDestruct() { On 2016/09/30 18:56:56, Charlie Harrison wrote: ...
4 years, 2 months ago (2016-10-04 17:16:29 UTC) #30
Charlie Harrison
LGTM thanks https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc File chrome/renderer/page_load_histograms.cc (right): https://codereview.chromium.org/2379293002/diff/60001/chrome/renderer/page_load_histograms.cc#newcode629 chrome/renderer/page_load_histograms.cc:629: void PageLoadHistograms::Helper::OnDestruct() { On 2016/10/04 17:16:28, dcheng ...
4 years, 2 months ago (2016-10-04 17:20:43 UTC) #33
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/2379293002/80001
4 years, 2 months ago (2016-10-04 17:23:48 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/210632) chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 2 months ago (2016-10-04 17:30:55 UTC) #40
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/2379293002/100001
4 years, 2 months ago (2016-10-04 17:42:52 UTC) #44
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-04 18:38:54 UTC) #46
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 18:42:16 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/dbf1570978e01431602502e73b19ed69d8f503a2
Cr-Commit-Position: refs/heads/master@{#422865}

Powered by Google App Engine
This is Rietveld 408576698