Use UIThreadSearchTermsData to get the Google base URL.
commitde91a933871266ff51441f8030b793ddec8c8d68
authorpkasting <pkasting@chromium.org>
Wed, 4 Feb 2015 19:08:19 +0000 (4 11:08 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 19:09:30 +0000 (4 19:09 +0000)
tree3879799b7c1c9afc7ac5fbbf236d5452080be563
parenta3873d3d9b508cb133fbd205f8f6433f13478805
Use UIThreadSearchTermsData to get the Google base URL.

This simplifies the code some by eliminating google_profile_helper entirely, and
ensures that everyone who is trying to construct a "search URL" will correctly
respect things like the command-line Google base URL override switch.

This also moves some related code from URLRequestMockHTTPJob into its lone
caller and stops assuming that the search URL scheme is always HTTP.

BUG=364183
TEST=none

Review URL: https://codereview.chromium.org/896943002

Cr-Commit-Position: refs/heads/master@{#314600}
chrome/browser/android/logo_service.cc
chrome/browser/errorpage_browsertest.cc
chrome/browser/google/google_profile_helper.cc [deleted file]
chrome/browser/google/google_profile_helper.h [deleted file]
chrome/browser/search_engines/ui_thread_search_terms_data.cc
chrome/browser/ui/app_list/start_page_service.cc
chrome/browser/ui/navigation_correction_tab_observer.cc
chrome/chrome_browser.gypi
net/test/url_request/url_request_mock_http_job.cc
net/test/url_request/url_request_mock_http_job.h