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

Issue 263973003: Move LoadProgressTracker to the browser process. (Closed)

Created:
6 years, 7 months ago by Avi (use Gerrit)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move LoadProgressTracker to the browser process. BUG=369531 TEST=everything still works Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271421

Patch Set 1 #

Total comments: 11

Patch Set 2 : in webcontents #

Patch Set 3 : cleanip #

Total comments: 12

Patch Set 4 : tweaks #

Total comments: 11

Patch Set 5 : yep #

Total comments: 8

Patch Set 6 : some fixes #

Patch Set 7 : getting so much better all the time #

Patch Set 8 : fixes #

Total comments: 5

Patch Set 9 : recomment #

Total comments: 1

Patch Set 10 : final comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -290 lines) Patch
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 5 chunks +29 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 8 chunks +136 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +60 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -7 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/load_progress_tracker.h View 1 chunk +0 lines, -48 lines 0 comments Download
D content/renderer/load_progress_tracker.cc View 1 chunk +0 lines, -110 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -14 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -34 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +3 lines, -10 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +0 lines, -18 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Avi (use Gerrit)
6 years, 7 months ago (2014-05-02 21:12:26 UTC) #1
nasko
Mostly there, but I think it is broken when we have real out-of-process iframes. See ...
6 years, 7 months ago (2014-05-02 22:48:23 UTC) #2
jam
per my email on the site isolation mailing list, i think this stuff should hang ...
6 years, 7 months ago (2014-05-02 22:50:21 UTC) #3
jam
On 2014/05/02 22:50:21, jam wrote: > per my email on the site isolation mailing list, ...
6 years, 7 months ago (2014-05-02 23:22:33 UTC) #4
Avi (use Gerrit)
I don't have full answers yet. Some easy things can be dispatched, though. Nasko: some ...
6 years, 7 months ago (2014-05-05 15:15:02 UTC) #5
nasko
DidStartLoading/DidStopLoading were dispatched through WebViewCLient, so they were only sent through the top-level RenderFrameHost. We ...
6 years, 7 months ago (2014-05-05 15:30:56 UTC) #6
Avi (use Gerrit)
On 2014/05/05 15:30:56, nasko wrote: > DidStartLoading/DidStopLoading were dispatched through WebViewCLient, so they > were ...
6 years, 7 months ago (2014-05-05 15:53:21 UTC) #7
nasko
On 2014/05/05 15:53:21, Avi wrote: > On 2014/05/05 15:30:56, nasko wrote: > > DidStartLoading/DidStopLoading were ...
6 years, 7 months ago (2014-05-05 16:07:28 UTC) #8
Avi (use Gerrit)
Yeah, I see it now. I was hoping to not have to move over frames_in_progress_ ...
6 years, 7 months ago (2014-05-05 16:37:47 UTC) #9
Avi (use Gerrit)
On 2014/05/02 23:22:33, jam wrote: > so let's keep the current code until we get ...
6 years, 7 months ago (2014-05-05 16:39:24 UTC) #10
jam
On 2014/05/05 16:39:24, Avi wrote: > On 2014/05/02 23:22:33, jam wrote: > > so let's ...
6 years, 7 months ago (2014-05-05 17:48:34 UTC) #11
Avi (use Gerrit)
Nasko, what do you think of this approach? The upshot (as I understand it) is ...
6 years, 7 months ago (2014-05-05 18:24:13 UTC) #12
Avi (use Gerrit)
On 2014/05/05 18:24:13, Avi wrote: > Nasko, what do you think of this approach? "this ...
6 years, 7 months ago (2014-05-05 18:28:01 UTC) #13
Avi (use Gerrit)
PTAL. This should be better. https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h#newcode981 content/browser/web_contents/web_contents_impl.h:981: // LoadingProgressMap maps FrameTreeNode ...
6 years, 7 months ago (2014-05-05 22:28:42 UTC) #14
jam
lgtm https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h#newcode341 content/browser/web_contents/web_contents_impl.h:341: // Called once when the first frame on ...
6 years, 7 months ago (2014-05-05 23:19:10 UTC) #15
Avi (use Gerrit)
https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.h#newcode341 content/browser/web_contents/web_contents_impl.h:341: // Called once when the first frame on the ...
6 years, 7 months ago (2014-05-05 23:34:27 UTC) #16
nasko
A lot better! Just a few comments. https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (left): https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.cc#oldcode2329 content/browser/web_contents/web_contents_impl.cc:2329: if (is_main_frame) ...
6 years, 7 months ago (2014-05-05 23:51:11 UTC) #17
Avi (use Gerrit)
https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (left): https://codereview.chromium.org/263973003/diff/40001/content/browser/web_contents/web_contents_impl.cc#oldcode2329 content/browser/web_contents/web_contents_impl.cc:2329: if (is_main_frame) On 2014/05/05 23:51:12, nasko wrote: > Why ...
6 years, 7 months ago (2014-05-06 00:03:39 UTC) #18
nasko
Adding japhet@ and creis@ to comment on the imbalance of DidStartLoading for browser-initiated navigations, as ...
6 years, 7 months ago (2014-05-06 00:08:03 UTC) #19
Nate Chapin
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; On 2014/05/05 23:51:12, nasko wrote: ...
6 years, 7 months ago (2014-05-07 20:16:02 UTC) #20
Charlie Reis
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; On 2014/05/07 20:16:02, Nate Chapin ...
6 years, 7 months ago (2014-05-07 23:50:59 UTC) #21
Nate Chapin
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; On 2014/05/07 23:51:00, Charlie Reis ...
6 years, 7 months ago (2014-05-08 00:19:44 UTC) #22
Avi (use Gerrit)
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; **THIS ISSUE REMAINS UNADDRESSED** In ...
6 years, 7 months ago (2014-05-13 21:08:07 UTC) #23
Avi (use Gerrit)
(I am looking into why this times out on a whole bunch of tests. It's ...
6 years, 7 months ago (2014-05-13 22:31:08 UTC) #24
Charlie Reis
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; On 2014/05/13 21:08:08, Avi wrote: ...
6 years, 7 months ago (2014-05-13 22:44:35 UTC) #25
nasko
On 2014/05/13 22:44:35, Charlie Reis(OOO as of May 17) wrote: > https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h > File content/browser/web_contents/web_contents_impl.h ...
6 years, 7 months ago (2014-05-13 23:05:53 UTC) #26
Avi (use Gerrit)
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; This already does a good ...
6 years, 7 months ago (2014-05-14 00:14:32 UTC) #27
Charlie Reis
https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: typedef base::hash_map<int64, double> LoadingProgressMap; On 2014/05/14 00:14:32, Avi wrote: ...
6 years, 7 months ago (2014-05-14 17:18:33 UTC) #28
nasko
On 2014/05/14 17:18:33, Charlie Reis(OOO as of May 17) wrote: > https://codereview.chromium.org/263973003/diff/60001/content/browser/web_contents/web_contents_impl.h > File content/browser/web_contents/web_contents_impl.h ...
6 years, 7 months ago (2014-05-14 17:36:33 UTC) #29
Avi (use Gerrit)
OK, Charlie, Nasko, this seems to work.
6 years, 7 months ago (2014-05-16 20:30:36 UTC) #30
nasko
LGTM with a couple of nits. https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc#newcode2643 content/browser/web_contents/web_contents_impl.cc:2643: // It is ...
6 years, 7 months ago (2014-05-16 22:19:46 UTC) #31
Charlie Reis
LGTM https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc#newcode3414 content/browser/web_contents/web_contents_impl.cc:3414: // Reset the loading progress. TODO(avi): What does ...
6 years, 7 months ago (2014-05-16 23:13:45 UTC) #32
Avi (use Gerrit)
https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/263973003/diff/130001/content/browser/web_contents/web_contents_impl.cc#newcode2643 content/browser/web_contents/web_contents_impl.cc:2643: // It is possible for a frame to make ...
6 years, 7 months ago (2014-05-16 23:29:59 UTC) #33
nasko
We now use RFHs for navigations and progressively more :). https://codereview.chromium.org/263973003/diff/150001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/263973003/diff/150001/content/browser/web_contents/web_contents_impl.cc#newcode2640 ...
6 years, 7 months ago (2014-05-16 23:45:58 UTC) #34
Avi (use Gerrit)
The CQ bit was checked by avi@chromium.org
6 years, 7 months ago (2014-05-19 14:39:12 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/263973003/170001
6 years, 7 months ago (2014-05-19 14:39:40 UTC) #36
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 16:29:26 UTC) #37
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 18:01:03 UTC) #38
Message was sent while issue was closed.
Change committed as 271421

Powered by Google App Engine
This is Rietveld 408576698