|
|
Chromium Code Reviews
DescriptionPlzNavigate support in data use ascriber
With PlzNavigate, RenderFrameHost will not be populated in mainframe
requests. So global request ID alone should be used for mapping those
requests to main renderframe, when navigation commits later. This CL is
based off of Chromium CL 2874353002.
BUG=664233
TBR=rajendrant@chromium.org
Review-Url: https://codereview.chromium.org/2913063002
Cr-Commit-Position: refs/heads/master@{#476006}
Committed: https://chromium.googlesource.com/chromium/src/+/975ba1a456087d8781f61754b747c66dab30c97f
Patch Set 1 : raj patch #Patch Set 2 : ps #
Total comments: 5
Patch Set 3 : ryansturm comments #Patch Set 4 : ryansturm comments #
Messages
Total messages: 46 (40 generated)
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:1) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== ascriber: plz navigate ========== to ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 ==========
Description was changed from ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 ========== to ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Patchset #1 (id:20001) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:80001) has been deleted
Patchset #3 (id:100001) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:60001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
tbansal@chromium.org changed reviewers: + rajendrant@chromium.org, ryansturm@chromium.org
ryansturm: ptal. TBRing: rajendrant@
Description was changed from ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 ========== to ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 TBR=rajendrant@chromium.org ==========
lgtm % comments. Right now the comments aren't super important. https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... File chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc (right): https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc:98: // Create a new DataUseRecorder for all other requests. nit: s/other/non-content initiated/ https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc:415: void ChromeDataUseAscriber::DeleteFromMainRenderFrameDataUseMap( Can't you just call map.delete[entry.main_frame_id()] assuming you can get this as a ChromeDataUseRecorder or can move the method to DataUseRecorder?
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... File chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc (right): https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc:98: // Create a new DataUseRecorder for all other requests. On 2017/05/31 16:26:01, RyanSturm wrote: > nit: s/other/non-content initiated/ Done. https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc:415: void ChromeDataUseAscriber::DeleteFromMainRenderFrameDataUseMap( On 2017/05/31 16:26:01, RyanSturm wrote: > Can't you just call map.delete[entry.main_frame_id()] assuming you can get this > as a ChromeDataUseRecorder or can move the method to DataUseRecorder? No, this is called when the iterator is from |pending_navigation_data_use_map_| which IIUC does not know about |RenderFrameHostID| which is used as key in the map here.
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... File chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc (right): https://codereview.chromium.org/2913063002/diff/120001/chrome/browser/data_us... chrome/browser/data_use_measurement/chrome_data_use_ascriber.cc:415: void ChromeDataUseAscriber::DeleteFromMainRenderFrameDataUseMap( On 2017/05/31 16:32:54, tbansal1 wrote: > On 2017/05/31 16:26:01, RyanSturm wrote: > > Can't you just call map.delete[entry.main_frame_id()] assuming you can get > this > > as a ChromeDataUseRecorder or can move the method to DataUseRecorder? > > No, this is called when the iterator is from |pending_navigation_data_use_map_| > which IIUC does not know about |RenderFrameHostID| which is used as key in the > map here. Ooh, I see. let me try that.
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by tbansal@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from ryansturm@chromium.org Link to the patchset: https://codereview.chromium.org/2913063002/#ps160001 (title: "ryansturm comments")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
tbansal@chromium.org changed reviewers: + megjablon@chromium.org
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1496261496879910,
"parent_rev": "2f65325fc076e6e17958c2e4880c1d0d745db5f4", "commit_rev":
"975ba1a456087d8781f61754b747c66dab30c97f"}
Message was sent while issue was closed.
Description was changed from ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 TBR=rajendrant@chromium.org ========== to ========== PlzNavigate support in data use ascriber With PlzNavigate, RenderFrameHost will not be populated in mainframe requests. So global request ID alone should be used for mapping those requests to main renderframe, when navigation commits later. This CL is based off of Chromium CL 2874353002. BUG=664233 TBR=rajendrant@chromium.org Review-Url: https://codereview.chromium.org/2913063002 Cr-Commit-Position: refs/heads/master@{#476006} Committed: https://chromium.googlesource.com/chromium/src/+/975ba1a456087d8781f61754b747... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:160001) as https://chromium.googlesource.com/chromium/src/+/975ba1a456087d8781f61754b747... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
