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

Issue 10060003: Support for different weight-functions for time-slicing. (Closed)

Created:
8 years, 8 months ago by Rune Fevang
Modified:
8 years, 7 months ago
Reviewers:
GeorgeY, brettw, Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support for different weight-functions for time-slicing. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137229

Patch Set 1 #

Total comments: 10

Patch Set 2 : Adressed comments and fixed failing unit tests. #

Total comments: 5

Patch Set 3 : Addressed comments. #

Patch Set 4 : Rebased #

Total comments: 8

Patch Set 5 : Minor formatting changes. #

Patch Set 6 : Rebased #

Total comments: 16

Patch Set 7 : Addressed comments #

Patch Set 8 : Added missing #include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -104 lines) Patch
M chrome/browser/history/history_backend.cc View 1 2 3 4 5 3 chunks +2 lines, -20 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 2 3 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/history/visit_database.h View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/history/visit_database.cc View 1 2 3 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/history/visit_database_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/history/visit_filter.h View 1 2 3 4 5 6 4 chunks +37 lines, -26 lines 0 comments Download
M chrome/browser/history/visit_filter.cc View 1 2 3 4 5 6 5 chunks +110 lines, -26 lines 0 comments Download
M chrome/browser/history/visit_filter_unittest.cc View 1 2 3 4 5 6 7 4 chunks +76 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc View 1 2 3 4 5 3 chunks +30 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
GeorgeY
Please add Brett for history changes as well. https://chromiumcodereview.appspot.com/10060003/diff/1/chrome/browser/history/visit_filter.cc File chrome/browser/history/visit_filter.cc (left): https://chromiumcodereview.appspot.com/10060003/diff/1/chrome/browser/history/visit_filter.cc#oldcode23 chrome/browser/history/visit_filter.cc:23: void ...
8 years, 8 months ago (2012-04-17 00:06:20 UTC) #1
Rune Fevang
http://codereview.chromium.org/10060003/diff/1/chrome/browser/history/visit_filter.cc File chrome/browser/history/visit_filter.cc (left): http://codereview.chromium.org/10060003/diff/1/chrome/browser/history/visit_filter.cc#oldcode23 chrome/browser/history/visit_filter.cc:23: void VisitFilter::SetTimeInRangeFilter(base::Time begin_time_of_the_day, On 2012/04/17 00:06:20, GeorgeY wrote: > ...
8 years, 8 months ago (2012-04-18 00:39:31 UTC) #2
GeorgeY
Two nits :) https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h File chrome/browser/history/visit_filter.h (right): https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h#newcode79 chrome/browser/history/visit_filter.h:79: ORDER_BY_TIME_GAUSSIAN, nit: please add a short ...
8 years, 8 months ago (2012-04-18 23:31:36 UTC) #3
Rune Fevang
https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter_unittest.cc File chrome/browser/history/visit_filter_unittest.cc (right): https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter_unittest.cc#newcode257 chrome/browser/history/visit_filter_unittest.cc:257: EXPECT_EQ(0.5, filter.GetVisitScore(visit)); On 2012/04/18 23:31:36, GeorgeY wrote: > Please ...
8 years, 8 months ago (2012-04-19 00:17:53 UTC) #4
Rune Fevang
https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h File chrome/browser/history/visit_filter.h (right): https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h#newcode79 chrome/browser/history/visit_filter.h:79: ORDER_BY_TIME_GAUSSIAN, On 2012/04/18 23:31:36, GeorgeY wrote: > nit: please ...
8 years, 8 months ago (2012-04-19 23:05:06 UTC) #5
GeorgeY
On 2012/04/19 23:05:06, Rune Fevang wrote: > https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h > File chrome/browser/history/visit_filter.h (right): > > https://chromiumcodereview.appspot.com/10060003/diff/5001/chrome/browser/history/visit_filter.h#newcode79 ...
8 years, 8 months ago (2012-04-19 23:10:55 UTC) #6
Rune Fevang
+estade for OWNERS review.
8 years, 7 months ago (2012-05-02 22:56:55 UTC) #7
Evan Stade
SuggestionsPageHandler lgtm https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc File chrome/browser/ui/webui/ntp/suggestions_page_handler.cc (right): https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode142 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:142: remove \n https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode144 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:144: remove \n https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode242 ...
8 years, 7 months ago (2012-05-03 00:06:54 UTC) #8
Rune Fevang
https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc File chrome/browser/ui/webui/ntp/suggestions_page_handler.cc (right): https://chromiumcodereview.appspot.com/10060003/diff/21002/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode142 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:142: On 2012/05/03 00:06:57, Evan Stade wrote: > remove \n ...
8 years, 7 months ago (2012-05-03 20:50:58 UTC) #9
Rune Fevang
Brett, will you be able to have a look at this CL? Is there someone ...
8 years, 7 months ago (2012-05-11 22:33:45 UTC) #10
brettw
On Fri, May 11, 2012 at 3:33 PM, <rfevang@chromium.org> wrote: > Brett, will you be ...
8 years, 7 months ago (2012-05-14 17:48:53 UTC) #11
brettw
LGTM. No substantive comments, just some style nits. https://chromiumcodereview.appspot.com/10060003/diff/37002/chrome/browser/history/visit_filter.cc File chrome/browser/history/visit_filter.cc (right): https://chromiumcodereview.appspot.com/10060003/diff/37002/chrome/browser/history/visit_filter.cc#newcode8 chrome/browser/history/visit_filter.cc:8: #include ...
8 years, 7 months ago (2012-05-14 18:03:12 UTC) #12
Rune Fevang
Thanks! https://chromiumcodereview.appspot.com/10060003/diff/37002/chrome/browser/history/visit_filter.cc File chrome/browser/history/visit_filter.cc (right): https://chromiumcodereview.appspot.com/10060003/diff/37002/chrome/browser/history/visit_filter.cc#newcode8 chrome/browser/history/visit_filter.cc:8: #include "math.h" On 2012/05/14 18:03:12, brettw wrote: > ...
8 years, 7 months ago (2012-05-15 01:32:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rfevang@chromium.org/10060003/40003
8 years, 7 months ago (2012-05-15 01:33:11 UTC) #14
commit-bot: I haz the power
Try job failure for 10060003-40003 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-15 01:56:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rfevang@chromium.org/10060003/44003
8 years, 7 months ago (2012-05-15 06:46:42 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 7 months ago (2012-05-15 07:51:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rfevang@chromium.org/10060003/44003
8 years, 7 months ago (2012-05-15 18:25:39 UTC) #18
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 20:27:04 UTC) #19
Change committed as 137229

Powered by Google App Engine
This is Rietveld 408576698