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

Issue 2388803003: Fix FirstWebContentsProfiler not getting created when using session restore. (Closed)

Created:
4 years, 2 months ago by jam
Modified:
4 years, 2 months ago
Reviewers:
gab
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix FirstWebContentsProfiler not getting created when using session restore. This regressed in r420175 because a different code path is taken that doesn't go through browser_navigator.cc's CreateTargetContents. BUG=650349 Committed: https://crrev.com/ede1c0cf9ffbbace44aa77d1bb3c3abc6a460426 Cr-Commit-Position: refs/heads/master@{#422883}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -7 lines) Patch
M chrome/browser/metrics/first_web_contents_profiler.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/metrics/first_web_contents_profiler.cc View 1 chunk +10 lines, -0 lines 3 comments Download
M chrome/browser/sessions/session_restore.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
jam
4 years, 2 months ago (2016-10-03 21:26:18 UTC) #6
gab
lgtm % comment, thanks! https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc#newcode29 chrome/browser/metrics/first_web_contents_profiler.cc:29: new FirstWebContentsProfiler(web_contents); // FirstWebContentsProfiler owns ...
4 years, 2 months ago (2016-10-04 19:15:17 UTC) #7
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/2388803003/1
4 years, 2 months ago (2016-10-04 19:18:28 UTC) #9
jam
https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc#newcode29 chrome/browser/metrics/first_web_contents_profiler.cc:29: new FirstWebContentsProfiler(web_contents); On 2016/10/04 19:15:17, gab wrote: > // ...
4 years, 2 months ago (2016-10-04 19:19:17 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-04 19:24:35 UTC) #11
gab
https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/2388803003/diff/1/chrome/browser/metrics/first_web_contents_profiler.cc#newcode29 chrome/browser/metrics/first_web_contents_profiler.cc:29: new FirstWebContentsProfiler(web_contents); On 2016/10/04 19:19:17, jam wrote: > On ...
4 years, 2 months ago (2016-10-04 19:26:23 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 19:28:36 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ede1c0cf9ffbbace44aa77d1bb3c3abc6a460426
Cr-Commit-Position: refs/heads/master@{#422883}

Powered by Google App Engine
This is Rietveld 408576698