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

Issue 131003011: Part 1 of search provider refactoring. (Closed)

Created:
6 years, 10 months ago by Maria
Modified:
6 years, 10 months ago
CC:
chromium-reviews, James Su, Peter Kasting
Visibility:
Public.

Description

Part 1 of search provider refactoring. Creates a base class shared by zero_suggest_provider and search_provider which will contain common implementation pieces for both classes. Moves Result, NavigationsResults, SuggestResult, Results objects into the base class without any changes to the implementation. These objects are used by both classes. Moves common typedefs up: MatchKey, MatchMap, NavigationResults, SuggestResults. BUG=338955 TBR=mpearson@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248856

Patch Set 1 #

Patch Set 2 : Line wrap fixes #

Total comments: 2

Patch Set 3 : change wrapping back #

Total comments: 40

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -462 lines) Patch
A chrome/browser/autocomplete/base_search_provider.h View 1 2 3 1 chunk +249 lines, -0 lines 0 comments Download
A chrome/browser/autocomplete/base_search_provider.cc View 1 2 3 1 chunk +222 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.h View 1 2 3 3 chunks +2 lines, -210 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 5 chunks +2 lines, -214 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.h View 1 2 3 5 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.cc View 1 2 3 10 chunks +20 lines, -22 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Maria
I am taking Mike's suggestion on: https://codereview.chromium.org/131433003/ and splitting up the big refactoring into easier-to-review ...
6 years, 10 months ago (2014-01-29 03:50:55 UTC) #1
H Fung
lgtm I assume that most of the code was copy/pasted, but it otherwise seemed straightforward ...
6 years, 10 months ago (2014-01-30 02:35:33 UTC) #2
Maria
I already prepared a separate change to move the functions you mention over, so I ...
6 years, 10 months ago (2014-01-30 02:47:02 UTC) #3
msw
LGTM with nits; some more worthwhile than others. https://codereview.chromium.org/131003011/diff/30001/chrome/browser/autocomplete/base_search_provider.cc File chrome/browser/autocomplete/base_search_provider.cc (right): https://codereview.chromium.org/131003011/diff/30001/chrome/browser/autocomplete/base_search_provider.cc#newcode9 chrome/browser/autocomplete/base_search_provider.cc:9: #include ...
6 years, 10 months ago (2014-02-03 22:53:14 UTC) #4
Mark P
I'm removing myself from the reviewers list because msw@ is a more appropriate reviewer than ...
6 years, 10 months ago (2014-02-03 23:02:12 UTC) #5
mariakhomenko
Mark, AFAIK there are three people in the OWNERS file for autocomplete: pkasting, mpearson, and ...
6 years, 10 months ago (2014-02-03 23:37:25 UTC) #6
Maria
Just a couple of general notes: 1) The re-wrapping of arguments was done via "git ...
6 years, 10 months ago (2014-02-04 03:16:38 UTC) #7
msw
On 2014/02/04 03:16:38, Maria wrote: > Just a couple of general notes: > 1) The ...
6 years, 10 months ago (2014-02-04 03:29:54 UTC) #8
Maria
The CQ bit was checked by mariakhomenko@chromium.org
6 years, 10 months ago (2014-02-04 07:45:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mariakhomenko@chromium.org/131003011/130001
6 years, 10 months ago (2014-02-04 07:46:32 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 08:53:09 UTC) #11
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) url_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=120592
6 years, 10 months ago (2014-02-04 08:53:10 UTC) #12
Maria
The CQ bit was checked by mariakhomenko@chromium.org
6 years, 10 months ago (2014-02-04 18:01:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mariakhomenko@chromium.org/131003011/130001
6 years, 10 months ago (2014-02-04 18:03:26 UTC) #14
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) url_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=121051
6 years, 10 months ago (2014-02-04 20:08:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mariakhomenko@chromium.org/131003011/130001
6 years, 10 months ago (2014-02-04 20:11:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mariakhomenko@chromium.org/131003011/130001
6 years, 10 months ago (2014-02-05 00:48:16 UTC) #17
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 05:18:35 UTC) #18
Message was sent while issue was closed.
Change committed as 248856

Powered by Google App Engine
This is Rietveld 408576698