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

Issue 1185723002: Prepare HistoryProvider for componentization (Closed)

Created:
5 years, 6 months ago by blundell
Modified:
5 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prepare HistoryProvider for componentization Obtain HistoryService and BookmarkModel from AutocompleteProviderClient. BUG=371538 Committed: https://crrev.com/55e35e874889b9eccb85eb012f91878fd64bab70 Cr-Commit-Position: refs/heads/master@{#334567}

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 19

Patch Set 3 : Response to review #

Total comments: 18

Patch Set 4 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -105 lines) Patch
M chrome/browser/autocomplete/autocomplete_controller.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 3 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete/chrome_autocomplete_provider_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc View 1 2 3 3 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/history_provider.h View 1 2 3 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_provider.cc View 1 2 3 chunks +6 lines, -13 lines 0 comments Download
M chrome/browser/autocomplete/history_quick_provider.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_quick_provider.cc View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/history_quick_provider_unittest.cc View 1 2 4 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_url_provider.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 1 2 3 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 1 2 4 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 5 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.cc View 1 2 3 4 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider_unittest.cc View 1 2 3 4 chunks +6 lines, -8 lines 0 comments Download
M components/omnibox/autocomplete_provider_client.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M components/omnibox/base_search_provider.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M components/omnibox/base_search_provider.cc View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M components/omnibox/base_search_provider_unittest.cc View 1 2 3 3 chunks +8 lines, -10 lines 0 comments Download
M components/omnibox/search_provider.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M components/omnibox/search_provider.cc View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
blundell
5 years, 6 months ago (2015-06-12 15:28:10 UTC) #2
Peter Kasting
https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode194 chrome/browser/autocomplete/autocomplete_controller.cc:194: profile, InMemoryURLIndexFactory::GetForProfile(profile))); It feels weird that right now these ...
5 years, 6 months ago (2015-06-12 16:20:23 UTC) #3
blundell
https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode194 chrome/browser/autocomplete/autocomplete_controller.cc:194: profile, InMemoryURLIndexFactory::GetForProfile(profile))); On 2015/06/12 16:20:22, Peter Kasting wrote: > ...
5 years, 6 months ago (2015-06-12 16:46:59 UTC) #4
Peter Kasting
https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode194 chrome/browser/autocomplete/autocomplete_controller.cc:194: profile, InMemoryURLIndexFactory::GetForProfile(profile))); On 2015/06/12 16:46:59, blundell wrote: > On ...
5 years, 6 months ago (2015-06-12 17:02:20 UTC) #5
blundell
https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode194 chrome/browser/autocomplete/autocomplete_controller.cc:194: profile, InMemoryURLIndexFactory::GetForProfile(profile))); On 2015/06/12 17:02:20, Peter Kasting wrote: > ...
5 years, 6 months ago (2015-06-12 19:30:19 UTC) #6
Peter Kasting
On 2015/06/12 19:30:19, blundell wrote: > But I think that your suggested model is actually ...
5 years, 6 months ago (2015-06-12 19:31:34 UTC) #7
Peter Kasting
On 2015/06/12 19:31:34, Peter Kasting wrote: > On 2015/06/12 19:30:19, blundell wrote: > > But ...
5 years, 6 months ago (2015-06-12 19:32:16 UTC) #8
blundell
On 2015/06/12 19:31:34, Peter Kasting wrote: > On 2015/06/12 19:30:19, blundell wrote: > > But ...
5 years, 6 months ago (2015-06-12 19:32:48 UTC) #9
blundell
https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode194 chrome/browser/autocomplete/autocomplete_controller.cc:194: profile, InMemoryURLIndexFactory::GetForProfile(profile))); On 2015/06/12 19:30:19, blundell wrote: > On ...
5 years, 6 months ago (2015-06-15 08:51:33 UTC) #12
Peter Kasting
LGTM https://codereview.chromium.org/1185723002/diff/80001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/80001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode214 chrome/browser/autocomplete/autocomplete_controller.cc:214: new SearchProvider(this, template_url_service, provider_client_.get()); Nit: If you're going ...
5 years, 6 months ago (2015-06-16 00:03:43 UTC) #13
blundell
https://codereview.chromium.org/1185723002/diff/80001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/1185723002/diff/80001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode214 chrome/browser/autocomplete/autocomplete_controller.cc:214: new SearchProvider(this, template_url_service, provider_client_.get()); On 2015/06/16 00:03:42, Peter Kasting ...
5 years, 6 months ago (2015-06-16 07:21:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185723002/100001
5 years, 6 months ago (2015-06-16 07:32:08 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 6 months ago (2015-06-16 08:46:31 UTC) #18
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 08:47:14 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/55e35e874889b9eccb85eb012f91878fd64bab70
Cr-Commit-Position: refs/heads/master@{#334567}

Powered by Google App Engine
This is Rietveld 408576698