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

Issue 351053003: Port HistoryService::QueryFilteredURLs to CancelableRequestTracker (Closed)

Created:
6 years, 6 months ago by sdefresne
Modified:
6 years, 5 months ago
Reviewers:
droger, haaawk1, Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, browser-components-watch_chromium.org, pedrosimonetti+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Port HistoryService::QueryFilteredURLs to CancelableRequestTracker The callback no longer receive a HistoryService::Handle and receive the history::FilteredURLList via a pointer instead of a reference. Simplify HistoryBackend unit tests to directly call QueryFilteredURLs and remove the HistoryBackendCancelableRequest class that is no longer used. Remove some obsolete code found along the way. BUG=371818 TBR=jhawkins Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281041

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase & address reviewer comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -151 lines) Patch
M chrome/browser/history/history_backend.h View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 4 chunks +7 lines, -13 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 2 4 chunks +30 lines, -99 lines 0 comments Download
M chrome/browser/history/history_marshaling.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/history/history_service.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/history/history_service.cc View 1 2 1 chunk +15 lines, -9 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc View 1 2 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sdefresne
Please take a look.
6 years, 6 months ago (2014-06-25 13:56:14 UTC) #1
sdefresne
TBR-ing OWNERS of affected client code TBR=jochen for //chrome/browser/ui OWNERS
6 years, 6 months ago (2014-06-25 13:58:11 UTC) #2
jochen (gone - plz use gerrit)
On 2014/06/25 at 13:58:11, sdefresne wrote: > TBR-ing OWNERS of affected client code > > ...
6 years, 6 months ago (2014-06-25 13:59:45 UTC) #3
sdefresne
TBR-ing OWNERS of affected client code (-jochen, +dbeam) TBR=dbeam for //chrome/browser/ui/webui/ntp
6 years, 6 months ago (2014-06-25 14:19:25 UTC) #4
sdefresne
+haaawk as the method HistoryService::QueryFilteredURLs is used by clank icing code (note that this CL ...
6 years, 6 months ago (2014-06-25 14:23:49 UTC) #5
Dan Beam
lgtm https://chromiumcodereview.appspot.com/351053003/diff/1/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc File chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc (right): https://chromiumcodereview.appspot.com/351053003/diff/1/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc#newcode96 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc:96: const history::FilteredURL& suggested_url = *iter; nit: revert this ...
6 years, 6 months ago (2014-06-26 03:47:33 UTC) #6
droger
lgtm
6 years, 6 months ago (2014-06-26 09:12:35 UTC) #7
sdefresne
https://codereview.chromium.org/351053003/diff/1/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc File chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc (right): https://codereview.chromium.org/351053003/diff/1/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc#newcode96 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc:96: const history::FilteredURL& suggested_url = *iter; On 2014/06/26 03:47:33, Dan ...
6 years, 5 months ago (2014-06-28 07:59:47 UTC) #8
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 5 months ago (2014-07-02 13:27:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/351053003/620001
6 years, 5 months ago (2014-07-02 13:28:27 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 15:48:27 UTC) #11
Message was sent while issue was closed.
Change committed as 281041

Powered by Google App Engine
This is Rietveld 408576698