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

Issue 393173002: Moves some functions in search.h to components. (Closed)

Created:
6 years, 5 months ago by Jun Mukai
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, chromium-apps-reviews_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, tfarina, kmadhusu+watch_chromium.org, James Su, Jered, hashimoto
Project:
chromium
Visibility:
Public.

Description

Moves some functions in search.h to components. These functions are simplistic and doesn't depend on chrome's feature, so there's no reason to be under chrome/browser. Moving to components/ would help further componentization task of autocomplete anad omnibox_field_trials. BUG=371538 R=brettw@chromium.org, pkasting@chromium.org, blundell@chromium.org TBR=tedchoc@chromium.org, jhawkins@chromium.org TEST=build Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284885

Patch Set 1 #

Patch Set 2 : gn #

Total comments: 8

Patch Set 3 : add search.gypi #

Patch Set 4 : rebase #

Patch Set 5 : fix #

Patch Set 6 : add a missing include #

Patch Set 7 : android fix #

Patch Set 8 : fix typo #

Patch Set 9 : android fix 2 #

Patch Set 10 : android fix 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -318 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/omnibox/autocomplete_controller_android.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/instant_service_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/search.h View 2 chunks +0 lines, -40 lines 0 comments Download
M chrome/browser/search/search.cc View 1 2 5 chunks +1 line, -124 lines 0 comments Download
D chrome/browser/search/search_android_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 1 2 3 chunks +1 line, -120 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_utils.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/extensions/extension_install_ui_default.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/search/search_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/OWNERS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -0 lines 0 comments Download
A + components/search.gypi View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
A + components/search/BUILD.gn View 1 3 1 chunk +5 lines, -3 lines 0 comments Download
A components/search/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/search/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/search/search.h View 1 chunk +59 lines, -0 lines 0 comments Download
A components/search/search.cc View 1 chunk +146 lines, -0 lines 0 comments Download
A components/search/search_android_unittest.cc View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A components/search/search_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
A + components/search/search_switches.cc View 1 chunk +6 lines, -6 lines 0 comments Download
A components/search/search_unittest.cc View 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Jun Mukai
6 years, 5 months ago (2014-07-15 23:38:57 UTC) #1
Peter Kasting
RSLGTM
6 years, 5 months ago (2014-07-16 00:40:01 UTC) #2
blundell
//components LGTM. All the files under //components/search should be in the "search" namespace now, but ...
6 years, 5 months ago (2014-07-16 08:58:30 UTC) #3
brettw
BUILD.gn files LGTM https://codereview.chromium.org/393173002/diff/20001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/393173002/diff/20001/components/components.gyp#newcode47 components/components.gyp:47: 'search.gypi', Did you forget to git ...
6 years, 5 months ago (2014-07-16 18:10:23 UTC) #4
Jun Mukai
Brett, I added you to the reviewers because you're an owner of chrome/browser/search, not only ...
6 years, 5 months ago (2014-07-16 20:00:09 UTC) #5
Jun Mukai
https://codereview.chromium.org/393173002/diff/20001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/393173002/diff/20001/components/components_tests.gyp#newcode457 components/components_tests.gyp:457: ['include', '^search_engines/'], On 2014/07/16 20:00:09, Jun Mukai wrote: > ...
6 years, 5 months ago (2014-07-17 17:17:07 UTC) #6
Jun Mukai
https://codereview.chromium.org/393173002/diff/20001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/393173002/diff/20001/components/components_tests.gyp#newcode457 components/components_tests.gyp:457: ['include', '^search_engines/'], On 2014/07/17 17:17:06, Jun Mukai wrote: > ...
6 years, 5 months ago (2014-07-18 16:48:29 UTC) #7
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-18 16:48:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/393173002/80001
6 years, 5 months ago (2014-07-18 16:49:35 UTC) #9
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-18 20:11:44 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 20:16:50 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/80980)
6 years, 5 months ago (2014-07-18 20:16:51 UTC) #12
Jun Mukai
adding suggested OWNERS as TBR= for the mechanical change of the following files: jhawkins: chrome/browser/BUILD.gn ...
6 years, 5 months ago (2014-07-18 23:41:17 UTC) #13
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-18 23:41:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/393173002/100001
6 years, 5 months ago (2014-07-18 23:43:17 UTC) #15
James Hawkins
Please just ping me over chat if I miss your CL next time. LGTM
6 years, 5 months ago (2014-07-18 23:47:01 UTC) #16
Jun Mukai
On 2014/07/18 23:47:01, James Hawkins wrote: > Please just ping me over chat if I ...
6 years, 5 months ago (2014-07-19 00:00:18 UTC) #17
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-19 03:05:06 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-19 03:21:03 UTC) #19
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/162626) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/208374)
6 years, 5 months ago (2014-07-19 03:21:05 UTC) #20
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-22 00:01:33 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/393173002/120001
6 years, 5 months ago (2014-07-22 00:02:48 UTC) #22
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-22 01:00:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/393173002/140001
6 years, 5 months ago (2014-07-22 01:01:08 UTC) #24
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-22 03:18:37 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 03:27:41 UTC) #26
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/163087)
6 years, 5 months ago (2014-07-22 03:27:43 UTC) #27
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-22 06:24:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/393173002/160001
6 years, 5 months ago (2014-07-22 06:25:29 UTC) #29
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-22 09:36:54 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 09:44:05 UTC) #31
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/163150)
6 years, 5 months ago (2014-07-22 09:44:07 UTC) #32
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-23 03:33:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/393173002/180001
6 years, 5 months ago (2014-07-23 03:35:10 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 07:03:53 UTC) #35
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 08:48:47 UTC) #36
Message was sent while issue was closed.
Change committed as 284885

Powered by Google App Engine
This is Rietveld 408576698