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

Issue 901803005: Remove dependency of HistoryService on WebHistoryServiceFactory (Closed)

Created:
5 years, 10 months ago by sdefresne
Modified:
5 years, 10 months ago
Reviewers:
Bernhard Bauer, droger
CC:
browser-components-watch_chromium.org, chromium-reviews, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@DEPS
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove dependency of HistoryService on WebHistoryServiceFactory Change HistoryService::ExpireLocalAndRemoteHistoryBetween() to receive the history::WebHistoryService instance to use in order to remove a dependency of HistoryService on Profile. It is not possible to pass the WebHistoryService instance to the HistoryService constructor and add a dependency between the two factories due to http://crbug.com/171406 (as WebHistoryService depends on a KeyedService calling Profile::GetRequestContext()). BUG=453790 Committed: https://crrev.com/f3b63c0bab333186be5848b3e0afc72d417d14cf Cr-Commit-Position: refs/heads/master@{#315038}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address issue #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -15 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/history/history_service.h View 1 2 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/history/history_service.cc View 1 5 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
sdefresne
The is a re-land of https://codereview.chromium.org/891763002. The original CL was reverted as it blocked automatic ...
5 years, 10 months ago (2015-02-05 15:00:57 UTC) #2
droger
https://codereview.chromium.org/901803005/diff/1/chrome/browser/history/history_service.h File chrome/browser/history/history_service.h (right): https://codereview.chromium.org/901803005/diff/1/chrome/browser/history/history_service.h#newcode78 chrome/browser/history/history_service.h:78: void ExpireLocalAndRemoteHistoryBetween(HistoryService* local_history, This looks like a mistake, the ...
5 years, 10 months ago (2015-02-05 16:16:14 UTC) #3
Bernhard Bauer
So, what's the advantage of the symmetry here? If the method is declared as a ...
5 years, 10 months ago (2015-02-05 16:23:20 UTC) #4
sdefresne
On 2015/02/05 16:23:20, Bernhard Bauer wrote: > So, what's the advantage of the symmetry here? ...
5 years, 10 months ago (2015-02-06 13:19:19 UTC) #5
Bernhard Bauer
LGTM Thank you, that's a lot nicer. The CL description needs to be updated though.
5 years, 10 months ago (2015-02-06 13:41:17 UTC) #6
sdefresne
On 2015/02/06 13:41:17, Bernhard Bauer wrote: > LGTM > > Thank you, that's a lot ...
5 years, 10 months ago (2015-02-06 13:45:26 UTC) #7
droger
lgtm
5 years, 10 months ago (2015-02-06 14:19:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901803005/20001
5 years, 10 months ago (2015-02-06 14:20:37 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/56239) ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-06 14:23:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901803005/40001
5 years, 10 months ago (2015-02-06 14:31:34 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-06 15:42:27 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 15:43:15 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f3b63c0bab333186be5848b3e0afc72d417d14cf
Cr-Commit-Position: refs/heads/master@{#315038}

Powered by Google App Engine
This is Rietveld 408576698