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

Issue 354773002: Reduces dependency from AutocompleteMatch to Profile. (Closed)

Created:
6 years, 6 months ago by Jun Mukai
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tfarina, James Su
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : fix comment #

Patch Set 4 : TemplateURLService as a ctor param to AutocompleteController #

Patch Set 5 : comment #

Patch Set 6 : rebase #

Total comments: 8

Patch Set 7 : fix #

Total comments: 2

Patch Set 8 : fix #

Patch Set 9 : fix #

Patch Set 10 : fix #

Patch Set 11 : fix android 2 #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -98 lines) Patch
M chrome/browser/android/omnibox/autocomplete_controller_android.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_classifier_factory.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.h View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.h View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.cc View 1 2 3 4 5 6 7 4 chunks +25 lines, -23 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_provider_unittest.cc View 1 2 3 4 5 6 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_result.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_result.cc View 1 2 3 4 5 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_result_unittest.cc View 1 2 3 4 5 16 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/autocomplete/base_search_provider.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_backend.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/omnibox_provider.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_navigation_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_popup_model.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/test_with_browser_view.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/home_page_overlay_handler.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/startup_pages_handler.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 30 (0 generated)
Jun Mukai
hashimoto, blundell, I don't want to increase the work load of pkasting unnecessarily. Could you ...
6 years, 6 months ago (2014-06-25 22:48:21 UTC) #1
hashimoto
lgtm https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_match.h File chrome/browser/autocomplete/autocomplete_match.h (right): https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_match.h#newcode180 chrome/browser/autocomplete/autocomplete_match.h:180: // proper deduping. |search_terms_data| is used to compute ...
6 years, 6 months ago (2014-06-26 00:04:41 UTC) #2
blundell
lgtm lgtm with question https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode411 chrome/browser/autocomplete/autocomplete_controller.cc:411: TemplateURLServiceFactory::GetForProfile(profile_); This class will eventually ...
6 years, 6 months ago (2014-06-26 09:00:00 UTC) #3
Jun Mukai
https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/354773002/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode411 chrome/browser/autocomplete/autocomplete_controller.cc:411: TemplateURLServiceFactory::GetForProfile(profile_); On 2014/06/26 09:00:00, blundell wrote: > This class ...
6 years, 6 months ago (2014-06-26 21:01:19 UTC) #4
Jun Mukai
Looked at the code and I feel like I can do the constructor parameter change ...
6 years, 5 months ago (2014-06-27 20:37:01 UTC) #5
blundell
LGTM
6 years, 5 months ago (2014-06-30 11:50:36 UTC) #6
Jun Mukai
pkasting, could you review this?
6 years, 5 months ago (2014-06-30 21:42:29 UTC) #7
Peter Kasting
https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_controller.h File chrome/browser/autocomplete/autocomplete_controller.h (right): https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_controller.h#newcode56 chrome/browser/autocomplete/autocomplete_controller.h:56: TemplateURLService* template_url_service); Nit: Place this right after the Profile* ...
6 years, 5 months ago (2014-06-30 22:42:09 UTC) #8
Jun Mukai
https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_controller.h File chrome/browser/autocomplete/autocomplete_controller.h (right): https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_controller.h#newcode56 chrome/browser/autocomplete/autocomplete_controller.h:56: TemplateURLService* template_url_service); On 2014/06/30 22:42:09, Peter Kasting wrote: > ...
6 years, 5 months ago (2014-06-30 23:52:36 UTC) #9
Peter Kasting
LGTM https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_match.cc File chrome/browser/autocomplete/autocomplete_match.cc (right): https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_match.cc#newcode362 chrome/browser/autocomplete/autocomplete_match.cc:362: stripped_destination_url, On 2014/06/30 23:52:35, Jun Mukai wrote: > ...
6 years, 5 months ago (2014-06-30 23:55:46 UTC) #10
Jun Mukai
https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_match.cc File chrome/browser/autocomplete/autocomplete_match.cc (right): https://codereview.chromium.org/354773002/diff/100001/chrome/browser/autocomplete/autocomplete_match.cc#newcode362 chrome/browser/autocomplete/autocomplete_match.cc:362: stripped_destination_url, On 2014/06/30 23:55:46, Peter Kasting wrote: > On ...
6 years, 5 months ago (2014-07-01 00:08:01 UTC) #11
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-01 00:08:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/354773002/140001
6 years, 5 months ago (2014-07-01 00:10:00 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-01 04:36:51 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-01 04:49:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/157282) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/201749)
6 years, 5 months ago (2014-07-01 04:49:07 UTC) #16
Jun Mukai
On 2014/07/01 04:49:07, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 5 months ago (2014-07-01 17:35:24 UTC) #17
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-01 17:35:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/354773002/180001
6 years, 5 months ago (2014-07-01 17:37:00 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-01 21:36:01 UTC) #20
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-01 21:45:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/354773002/200001
6 years, 5 months ago (2014-07-01 21:45:36 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 00:09:20 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 00:11:45 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/45179)
6 years, 5 months ago (2014-07-02 00:11:46 UTC) #25
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-02 00:45:48 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/354773002/220001
6 years, 5 months ago (2014-07-02 00:46:28 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 03:58:25 UTC) #28
commit-bot: I haz the power
Change committed as 280955
6 years, 5 months ago (2014-07-02 07:03:40 UTC) #29
jochen (gone - plz use gerrit)
6 years, 5 months ago (2014-07-02 09:13:27 UTC) #30
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/363893002/ by jochen@chromium.org.

The reason for reverting is: AutocompleteProviderTest.GetDestinationURL crashes
on dbg bots.

Powered by Google App Engine
This is Rietveld 408576698