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

Issue 7775003: Add code to keep track of what fraction of pageviews are top sites. (Closed)

Created:
9 years, 3 months ago by tburkard
Modified:
9 years, 3 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, mmenke
Visibility:
Public.

Description

Add code to keep track of what fraction of pageviews are top sites. This code will be removed again once histograms have been collected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98734

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 11

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -3 lines) Patch
M chrome/browser/prerender/prerender_manager.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +80 lines, -1 line 1 comment Download
M chrome/browser/prerender/prerender_observer.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_observer.cc View 5 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
tburkard
Hi Chris and Dominic, after being puzzled by buildbot results for a while, here is ...
9 years, 3 months ago (2011-08-29 15:22:10 UTC) #1
tburkard
On 2011/08/29 15:22:10, tburkard wrote: > Hi Chris and Dominic, > > after being puzzled ...
9 years, 3 months ago (2011-08-29 15:23:21 UTC) #2
dominich
LGTM I hope it sticks this time! http://codereview.chromium.org/7775003/diff/8001/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): http://codereview.chromium.org/7775003/diff/8001/chrome/browser/prerender/prerender_manager.cc#newcode192 chrome/browser/prerender/prerender_manager.cc:192: &prerender::PrerenderManager::MostVisitedSites:: nit: ...
9 years, 3 months ago (2011-08-29 15:57:10 UTC) #3
cbentzel
LGTM http://codereview.chromium.org/7775003/diff/8001/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): http://codereview.chromium.org/7775003/diff/8001/chrome/browser/prerender/prerender_manager.cc#newcode177 chrome/browser/prerender/prerender_manager.cc:177: history::TopSites* ts = GetTopSites(); Nit: Use |top_sites| instead ...
9 years, 3 months ago (2011-08-29 16:18:08 UTC) #4
tburkard
Ok, so I couldn't figure out how to get to reliably pass the tests without ...
9 years, 3 months ago (2011-08-29 19:14:19 UTC) #5
tburkard
Chris, I added the comment and filed the bug (http://crbug.com/89543). Please let me know if ...
9 years, 3 months ago (2011-08-29 22:15:15 UTC) #6
tburkard
On 2011/08/29 22:15:15, tburkard wrote: > Chris, I added the comment and filed the bug ...
9 years, 3 months ago (2011-08-29 23:39:42 UTC) #7
jar (doing other things)
drive by commentary.... http://codereview.chromium.org/7775003/diff/13003/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): http://codereview.chromium.org/7775003/diff/13003/chrome/browser/prerender/prerender_manager.cc#newcode180 chrome/browser/prerender/prerender_manager.cc:180: // See http://crbug.com/94654 Any time you ...
9 years, 3 months ago (2011-09-01 18:14:51 UTC) #8
cbentzel
9 years, 3 months ago (2011-09-01 18:29:08 UTC) #9
Yes, I should not have LGTM'ed this. Your commentary is correct.

On Thu, Sep 1, 2011 at 2:14 PM,  <jar@chromium.org> wrote:
> drive by commentary....
>
>
>
http://codereview.chromium.org/7775003/diff/13003/chrome/browser/prerender/pr...
> File chrome/browser/prerender/prerender_manager.cc (right):
>
>
http://codereview.chromium.org/7775003/diff/13003/chrome/browser/prerender/pr...
> chrome/browser/prerender/prerender_manager.cc:180: // See
> http://crbug.com/94654
> Any time you have to wait for something like 3 seconds to assure the
> unit tests won't crash, you know you are doing something wrong.  This is
> generally guaranteed to create a flaky test, as bots regularly stall for
> more than 3 seconds (which will mean that your delay will have been for
> naught).
>
> It also shows that you haven't properly sequenced your code to wait for
> proper initialization in other areas... which hints at an even larger
> problem.
>
> http://codereview.chromium.org/7775003/
>

Powered by Google App Engine
This is Rietveld 408576698