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

Issue 351553004: Port HistoryService::GetVisibleVisitCountToHost to CancelableTaskTracker (Closed)

Created:
6 years, 6 months ago by sdefresne
Modified:
6 years, 5 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka, markusheintz_, browser-components-watch_chromium.org, haaawk1
Project:
chromium
Visibility:
Public.

Description

Port HistoryService::GetVisibleVisitCountToHost to CancelableTaskTracker Callback no longer receive a HistoryService::Handle, but instead client code should use the returned base::CancelableTaskTracker::TaskId to cancel an individual task. Simplify implementation of BrowserFeatureExtractor as all the methods from HistoryService that are called uses base::CancelableTaskTracker by removing the mapping from HistoryService::Handle to request and using a scoped_ptr to deal with the lifetime of the ClientPhishingRequest object. BUG=371818 TBR=jochen Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280110 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280796

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix typo #

Patch Set 3 : Rebase #

Patch Set 4 : Fix dependency on parameter evaluation ordering #

Patch Set 5 : Fix Linux ASAN tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -219 lines) Patch
M chrome/browser/download/download_target_determiner.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/download/download_target_determiner.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/history/history_backend.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 4 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/history/history_marshaling.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/history/history_service.h View 1 2 3 4 1 chunk +10 lines, -11 lines 0 comments Download
M chrome/browser/history/history_service.cc View 1 2 3 4 2 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 2 3 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.h View 6 chunks +7 lines, -33 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.cc View 1 2 3 4 6 chunks +45 lines, -99 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 3 4 5 chunks +12 lines, -18 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
sdefresne
blundell: Please take a look to the overall. bryner: Please take a look at //chrome/browser/safe_browsing ...
6 years, 6 months ago (2014-06-24 13:20:59 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 6 months ago (2014-06-24 14:00:33 UTC) #2
blundell
LGTM https://codereview.chromium.org/351553004/diff/1/chrome/browser/history/history_types.h File chrome/browser/history/history_types.h (right): https://codereview.chromium.org/351553004/diff/1/chrome/browser/history/history_types.h#newcode515 chrome/browser/history/history_types.h:515: // VisibleVisitCountToHostResult encapsulate the result of a call ...
6 years, 6 months ago (2014-06-24 14:08:58 UTC) #3
sdefresne
https://codereview.chromium.org/351553004/diff/1/chrome/browser/history/history_types.h File chrome/browser/history/history_types.h (right): https://codereview.chromium.org/351553004/diff/1/chrome/browser/history/history_types.h#newcode515 chrome/browser/history/history_types.h:515: // VisibleVisitCountToHostResult encapsulate the result of a call to ...
6 years, 6 months ago (2014-06-25 12:20:37 UTC) #4
sdefresne
+haaawk FYI
6 years, 6 months ago (2014-06-25 14:29:11 UTC) #5
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 6 months ago (2014-06-25 17:39:31 UTC) #6
sdefresne
The CQ bit was unchecked by sdefresne@chromium.org
6 years, 6 months ago (2014-06-25 17:39:56 UTC) #7
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 6 months ago (2014-06-25 17:40:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/351553004/40001
6 years, 6 months ago (2014-06-25 17:41:10 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-25 22:13:53 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 23:18:30 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/46021)
6 years, 6 months ago (2014-06-25 23:18:31 UTC) #12
Brian Ryner
Sorry for the delayed response. Noe, do you want to take a look at this ...
6 years, 6 months ago (2014-06-26 01:54:32 UTC) #13
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 6 months ago (2014-06-26 17:24:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/351553004/60001
6 years, 6 months ago (2014-06-26 17:26:03 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-26 21:25:15 UTC) #16
commit-bot: I haz the power
Change committed as 280110
6 years, 6 months ago (2014-06-26 21:36:03 UTC) #17
leng
A revert of this CL has been created in https://codereview.chromium.org/351363002/ by leng@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-26 22:27:47 UTC) #18
sdefresne
On 2014/06/26 22:27:47, leng wrote: > A revert of this CL has been created in ...
6 years, 5 months ago (2014-06-30 16:08:39 UTC) #19
blundell
lgtm
6 years, 5 months ago (2014-07-01 07:37:27 UTC) #20
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 5 months ago (2014-07-01 09:52:52 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/351553004/100001
6 years, 5 months ago (2014-07-01 09:53:48 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-01 10:38:23 UTC) #23
Message was sent while issue was closed.
Change committed as 280796

Powered by Google App Engine
This is Rietveld 408576698