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

Issue 296743009: Pass AutocompleteProvider::kMaxMatches to InMemoryURLIndex (Closed)

Created:
6 years, 7 months ago by Jiang Jiang
Modified:
6 years, 7 months ago
Reviewers:
Nico, sdefresne, blundell
CC:
chromium-reviews, James Su, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Pass AutocompleteProvider::kMaxMatches to InMemoryURLIndex The only client of InMemoryURLIndex::HistoryItemsForTerms is //chrome/browser/autocomplete/history_quick_provider.cc which has access to the constant. So pass the constant to the history component instead of having the dependency. BUG=374730 TBR=thakis // For OWNERS at chrome/browser/autocomplete/history_quick_provider.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273072

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove AutocompleteProvider from DEPS #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -99 lines) Patch
M chrome/browser/autocomplete/history_quick_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/history/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/history/in_memory_url_index.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/history/in_memory_url_index.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/history/in_memory_url_index_unittest.cc View 1 24 chunks +95 lines, -88 lines 0 comments Download
M chrome/browser/history/url_index_private_data.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/history/url_index_private_data.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
blundell
6 years, 7 months ago (2014-05-22 15:23:03 UTC) #1
Jiang Jiang
6 years, 7 months ago (2014-05-22 15:23:23 UTC) #2
blundell
Sylvain, Could you do an initial review?
6 years, 7 months ago (2014-05-22 15:23:25 UTC) #3
Jiang Jiang
I wonder if we should get rid of the AutocompleteProvider::kMaxMatches in in_memory_url_index_unittest.cc, otherwise how do ...
6 years, 7 months ago (2014-05-22 15:29:41 UTC) #4
sdefresne
https://codereview.chromium.org/296743009/diff/1/chrome/browser/history/in_memory_url_index_unittest.cc File chrome/browser/history/in_memory_url_index_unittest.cc (right): https://codereview.chromium.org/296743009/diff/1/chrome/browser/history/in_memory_url_index_unittest.cc#newcode452 chrome/browser/history/in_memory_url_index_unittest.cc:452: AutocompleteProvider::kMaxMatches); Most of the tests don't depends on the ...
6 years, 7 months ago (2014-05-22 15:41:12 UTC) #5
Jiang Jiang
https://codereview.chromium.org/296743009/diff/1/chrome/browser/history/in_memory_url_index_unittest.cc File chrome/browser/history/in_memory_url_index_unittest.cc (right): https://codereview.chromium.org/296743009/diff/1/chrome/browser/history/in_memory_url_index_unittest.cc#newcode452 chrome/browser/history/in_memory_url_index_unittest.cc:452: AutocompleteProvider::kMaxMatches); On 2014/05/22 15:41:13, sdefresne wrote: > Most of ...
6 years, 7 months ago (2014-05-23 16:12:51 UTC) #6
blundell
LGTM!
6 years, 7 months ago (2014-05-26 07:20:24 UTC) #7
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 7 months ago (2014-05-26 07:56:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/296743009/20001
6 years, 7 months ago (2014-05-26 07:56:38 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 09:45:25 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 09:51:16 UTC) #11
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/69741)
6 years, 7 months ago (2014-05-26 09:51:17 UTC) #12
Jiang Jiang
6 years, 7 months ago (2014-05-26 09:55:30 UTC) #13
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 7 months ago (2014-05-26 09:55:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/296743009/20001
6 years, 7 months ago (2014-05-26 09:56:13 UTC) #15
blundell
Minor note: The "For OWNERS at chrome/browser/autocomplete/history_quick_provider.cc" should be included in the email you send ...
6 years, 7 months ago (2014-05-26 11:03:26 UTC) #16
Jiang Jiang
The CQ bit was unchecked by jiangj@opera.com
6 years, 7 months ago (2014-05-26 20:08:48 UTC) #17
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 7 months ago (2014-05-26 20:09:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/296743009/20001
6 years, 7 months ago (2014-05-26 20:09:34 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 23:51:40 UTC) #20
commit-bot: I haz the power
Failed to apply patch for chrome/browser/history/url_index_private_data.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-26 23:51:40 UTC) #21
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 7 months ago (2014-05-27 20:11:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/296743009/40001
6 years, 7 months ago (2014-05-27 20:12:41 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 23:40:24 UTC) #24
Message was sent while issue was closed.
Change committed as 273072

Powered by Google App Engine
This is Rietveld 408576698