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

Issue 896943002: Use UIThreadSearchTermsData to get the Google base URL. (Closed)

Created:
5 years, 10 months ago by Peter Kasting
Modified:
5 years, 10 months ago
Reviewers:
sky, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/de91a933871266ff51441f8030b793ddec8c8d68 Cr-Commit-Position: refs/heads/master@{#314600}

Patch Set 1 #

Patch Set 2 : Compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -106 lines) Patch
M chrome/browser/android/logo_service.cc View 1 3 chunks +7 lines, -11 lines 0 comments Download
M chrome/browser/errorpage_browsertest.cc View 3 chunks +8 lines, -8 lines 0 comments Download
D chrome/browser/google/google_profile_helper.h View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/browser/google/google_profile_helper.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.cc View 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/app_list/start_page_service.cc View 1 5 chunks +5 lines, -12 lines 0 comments Download
M chrome/browser/ui/navigation_correction_tab_observer.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M net/test/url_request/url_request_mock_http_job.h View 1 chunk +0 lines, -7 lines 0 comments Download
M net/test/url_request/url_request_mock_http_job.cc View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Peter Kasting
sky: chrome/ mmenke: net/ (only removing code, yay!)
5 years, 10 months ago (2015-02-04 03:48:34 UTC) #2
mmenke
On 2015/02/04 03:48:34, Peter Kasting wrote: > sky: chrome/ > mmenke: net/ (only removing code, ...
5 years, 10 months ago (2015-02-04 03:53:23 UTC) #3
sky
LGTM That said, I tend to think it isn't intuitive that UIThreadSearchTermsData is the place ...
5 years, 10 months ago (2015-02-04 18:02:24 UTC) #4
Peter Kasting
On 2015/02/04 18:02:24, sky wrote: > LGTM > > That said, I tend to think ...
5 years, 10 months ago (2015-02-04 19:03:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896943002/20001
5 years, 10 months ago (2015-02-04 19:03:47 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-04 19:08:50 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 19:10:05 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/de91a933871266ff51441f8030b793ddec8c8d68
Cr-Commit-Position: refs/heads/master@{#314600}

Powered by Google App Engine
This is Rietveld 408576698