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

Issue 2464323004: Fix grouped history query range for months. (Closed)

Created:
4 years, 1 month ago by calamity
Modified:
4 years, 1 month ago
Reviewers:
tsergeant, Dan Beam
CC:
chromium-reviews, Patrick Dubroy, dbeam+watch-history_chromium.org, pam+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, Theresa
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix grouped history query range for months. This CL fixes an issue where the end times for grouped history queries were not being set and adds tests to prevent regressions. BUG=661882 Committed: https://crrev.com/2e33a4d2c2d2add03be4ddfcb9647781d947b516 Cr-Commit-Position: refs/heads/master@{#432824}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Patch Set 5 : give a valid time to all tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -42 lines) Patch
M chrome/browser/ui/webui/browsing_history_handler.h View 1 5 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 2 13 chunks +36 lines, -37 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler_unittest.cc View 1 2 3 4 4 chunks +89 lines, -1 line 0 comments Download

Messages

Total messages: 25 (14 generated)
calamity
PTAL, thanks.
4 years, 1 month ago (2016-11-03 06:50:20 UTC) #3
tsergeant
Sorry for the delay. Passing this review over to dbeam@ to review since I'm OOO ...
4 years, 1 month ago (2016-11-08 03:40:11 UTC) #5
Dan Beam
i would not call myself familiar with any of this code, but here goes! https://codereview.chromium.org/2464323004/diff/20001/chrome/browser/ui/webui/browsing_history_handler.cc ...
4 years, 1 month ago (2016-11-10 03:31:34 UTC) #6
calamity
https://codereview.chromium.org/2464323004/diff/20001/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2464323004/diff/20001/chrome/browser/ui/webui/browsing_history_handler.cc#newcode973 chrome/browser/ui/webui/browsing_history_handler.cc:973: if (!base::Time::FromLocalExploded(exploded, &options->end_time)) { On 2016/11/10 03:31:34, Dan Beam ...
4 years, 1 month ago (2016-11-10 07:16:27 UTC) #7
Dan Beam
lgtm, tsergeant may also have thoughts https://codereview.chromium.org/2464323004/diff/40001/chrome/browser/ui/webui/browsing_history_handler_unittest.cc File chrome/browser/ui/webui/browsing_history_handler_unittest.cc (right): https://codereview.chromium.org/2464323004/diff/40001/chrome/browser/ui/webui/browsing_history_handler_unittest.cc#newcode52 chrome/browser/ui/webui/browsing_history_handler_unittest.cc:52: base::Time GetReferenceTime() { ...
4 years, 1 month ago (2016-11-10 19:06:37 UTC) #8
tsergeant
nothing else to add, lgtm too
4 years, 1 month ago (2016-11-11 00:39:29 UTC) #9
calamity
https://codereview.chromium.org/2464323004/diff/40001/chrome/browser/ui/webui/browsing_history_handler_unittest.cc File chrome/browser/ui/webui/browsing_history_handler_unittest.cc (right): https://codereview.chromium.org/2464323004/diff/40001/chrome/browser/ui/webui/browsing_history_handler_unittest.cc#newcode52 chrome/browser/ui/webui/browsing_history_handler_unittest.cc:52: base::Time GetReferenceTime() { On 2016/11/10 19:06:37, Dan Beam wrote: ...
4 years, 1 month ago (2016-11-17 02:24:34 UTC) #12
Dan Beam
lgtm yay!
4 years, 1 month ago (2016-11-17 02:50:01 UTC) #13
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/2464323004/100001
4 years, 1 month ago (2016-11-17 09:10:42 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-17 09:14:38 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 09:18:01 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2e33a4d2c2d2add03be4ddfcb9647781d947b516
Cr-Commit-Position: refs/heads/master@{#432824}

Powered by Google App Engine
This is Rietveld 408576698