|
Partially componentize //chrome/browser/search/search.{h,cc}
Move functions from //chrome/browser/search/search.{h,cc} to the search
component //components/search/search.{h,cc} so that they can be shared
with iOS.
Move all the code in those two files (and supporting unittests) from
the "chrome" to the "search" namespace.
Move unittests that do not depends on non-componentized functions into
the search component.
Implements GetSearchTerms() on iOS that uses a web::WebState* instead
of content::WebContents and simplify the code to remove unsupported
features.
Directly use //components/search on iOS instead of the SearchProvider
when possible.
BUG= 514239
TBR=sky,droger,benwells
Committed: https://crrev.com/51bbec7be7014d4d75d39c1a5c27b1ba9ddc3dcd
Cr-Commit-Position: refs/heads/master@{#341525}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+707 lines, -737 lines) |
Patch |
|
M |
chrome/browser/android/omnibox/autocomplete_controller_android.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/tab_android.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/sessions/sessions_api.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_url_rewrite_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/favicon/favicon_utils.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_browsertest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/prerender/prerender_manager.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/search/instant_service.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/search/instant_service_factory.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/search/instant_unittest_base.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/search/local_ntp_source.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/search/search.h
|
View
|
|
5 chunks |
+2 lines, -43 lines |
0 comments
|
Download
|
|
M |
chrome/browser/search/search.cc
|
View
|
1
2
3
|
13 chunks |
+10 lines, -116 lines |
0 comments
|
Download
|
|
D |
chrome/browser/search/search_android_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -110 lines |
0 comments
|
Download
|
|
M |
chrome/browser/search/search_unittest.cc
|
View
|
|
13 chunks |
+23 lines, -150 lines |
0 comments
|
Download
|
|
M |
chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_restore.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
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/app_list/search/common/webservice_search_provider.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/bookmarks/bookmark_utils.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_instant_controller.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_instant_controller_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/extensions/extension_install_ui_default.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/omnibox/chrome_omnibox_client.cc
|
View
|
1
2
3
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/instant_controller.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/instant_search_prerenderer.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/instant_search_prerenderer_unittest.cc
|
View
|
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/local_ntp_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/new_tab_page_interceptor_service.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_ipc_router.cc
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
View
|
|
2 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_ipc_router_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_model.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_tab_helper.cc
|
View
|
|
13 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/search/search_tab_helper_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/singleton_tabs.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/toolbar/toolbar_model_impl.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/toolbar/toolbar_model_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/history_ui.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/searchbox/search_bouncer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/omnibox/browser/omnibox_field_trial.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/omnibox/browser/omnibox_field_trial_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/omnibox/browser/search_provider.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/search.gypi
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
components/search/BUILD.gn
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/search/DEPS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/search/search.h
|
View
|
|
2 chunks |
+55 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/search/search.cc
|
View
|
|
3 chunks |
+112 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/search/search_android_unittest.cc
|
View
|
|
2 chunks |
+86 lines, -1 line |
0 comments
|
Download
|
|
M |
components/search/search_switches.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/search/search_switches.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/search/search_unittest.cc
|
View
|
|
2 chunks |
+108 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/browser/guest_view/web_view/web_view_guest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
ios/chrome/browser/search/search_util.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
ios/chrome/browser/search/search_util.cc
|
View
|
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
|
M |
ios/chrome/ios_chrome.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/ios_tests.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/provider/ios_provider_chrome.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/public/provider/chrome/browser/chrome_browser_provider.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/public/provider/chrome/browser/chrome_browser_provider.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
D |
ios/public/provider/chrome/browser/search_provider.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
D |
ios/public/test/fake_search_provider.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
|
D |
ios/public/test/fake_search_provider.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
M |
ios/public/test/test_chrome_browser_provider.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/public/test/test_chrome_browser_provider.mm
|
View
|
1
2
3
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
Total messages: 22 (8 generated)
|