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

Issue 369503007: Remove dead code (Closed)

Created:
6 years, 5 months ago by sdefresne
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, browser-components-watch_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Remove dead code HistoryService no longer use CancelableRequest{Consumer,Producer} but CancelableTaskTracker instead so remove the code that supported the old API. Fix the DCHECK in the methods of HistoryService that use thread_. BUG=371818 TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285171

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Fix windows compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -184 lines) Patch
M chrome/browser/extensions/api/history/history_api.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/history/history_backend.h View 1 1 chunk +13 lines, -3 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
D chrome/browser/history/history_marshaling.h View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/history/history_querying_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/history_service.h View 1 4 chunks +1 line, -110 lines 0 comments Download
M chrome/browser/history/history_service.cc View 1 35 chunks +39 lines, -10 lines 0 comments Download
M chrome/browser/history/history_unittest.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/history/top_sites.h View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/history/top_sites_impl.h View 1 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/history/top_sites_impl.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/jumplist_win.h View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
sdefresne
blundell: Please have a look. kalman: Please review //chrome/browser/extensions/api as OWNER
6 years, 5 months ago (2014-07-02 17:42:53 UTC) #1
not at google - send to devlin
extensions lgtm
6 years, 5 months ago (2014-07-02 18:14:20 UTC) #2
blundell
https://codereview.chromium.org/369503007/diff/1/chrome/browser/history/top_sites_impl.cc File chrome/browser/history/top_sites_impl.cc (left): https://codereview.chromium.org/369503007/diff/1/chrome/browser/history/top_sites_impl.cc#oldcode461 chrome/browser/history/top_sites_impl.cc:461: &cancelable_task_tracker_); is this a bugfix? https://codereview.chromium.org/369503007/diff/1/chrome/browser/history/top_sites_impl.h File chrome/browser/history/top_sites_impl.h (right): ...
6 years, 5 months ago (2014-07-03 08:29:13 UTC) #3
sdefresne
blundell: PTAL https://codereview.chromium.org/369503007/diff/1/chrome/browser/history/top_sites_impl.cc File chrome/browser/history/top_sites_impl.cc (left): https://codereview.chromium.org/369503007/diff/1/chrome/browser/history/top_sites_impl.cc#oldcode461 chrome/browser/history/top_sites_impl.cc:461: &cancelable_task_tracker_); On 2014/07/03 08:29:12, blundell wrote: > ...
6 years, 5 months ago (2014-07-22 14:29:07 UTC) #4
blundell
https://codereview.chromium.org/369503007/diff/40001/chrome/browser/history/top_sites_impl.cc File chrome/browser/history/top_sites_impl.cc (right): https://codereview.chromium.org/369503007/diff/40001/chrome/browser/history/top_sites_impl.cc#newcode381 chrome/browser/history/top_sites_impl.cc:381: cancelable_task_tracker_.TryCancelAll(); This is a behavioral change, as the two ...
6 years, 5 months ago (2014-07-22 15:19:57 UTC) #5
sdefresne
On 2014/07/22 15:19:57, blundell wrote: > https://codereview.chromium.org/369503007/diff/40001/chrome/browser/history/top_sites_impl.cc > File chrome/browser/history/top_sites_impl.cc (right): > > https://codereview.chromium.org/369503007/diff/40001/chrome/browser/history/top_sites_impl.cc#newcode381 > ...
6 years, 5 months ago (2014-07-22 15:41:54 UTC) #6
blundell
lgtm
6 years, 5 months ago (2014-07-22 15:44:17 UTC) #7
not at google - send to devlin
rslgtm
6 years, 5 months ago (2014-07-22 16:31:10 UTC) #8
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 5 months ago (2014-07-23 07:46:31 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/369503007/60001
6 years, 5 months ago (2014-07-23 07:47:28 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 09:45:41 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 09:48:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/81717)
6 years, 5 months ago (2014-07-23 09:48:24 UTC) #13
sdefresne
TBR=sky for //chrome/bowser/jumplist_win.h
6 years, 5 months ago (2014-07-24 08:16:53 UTC) #14
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 5 months ago (2014-07-24 08:17:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/369503007/60001
6 years, 5 months ago (2014-07-24 08:19:27 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 10:38:15 UTC) #17
Message was sent while issue was closed.
Change committed as 285171

Powered by Google App Engine
This is Rietveld 408576698