|
Stop depending on InstantService from BaseSearchProvider
UIThreadSearchTermsData is responsible to get the value instead.
Remove |start_margin| argument from GetInstantURL() as all users are passing kDisableStartMargin for it.
Add a new test TemplateURLTest.OmniboxStartmargin
BUG= 388515
TEST=components_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284878
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+102 lines, -74 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/base_search_provider.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/base_search_provider.cc
|
View
|
|
5 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search.h
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search.cc
|
View
|
|
9 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search_unittest.cc
|
View
|
|
7 chunks |
+14 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/ui_thread_search_terms_data.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/search_engines/search_terms_data.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/search_engines/search_terms_data.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/search_engines/template_url.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/search_engines/template_url.cc
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/search_engines/template_url_unittest.cc
|
View
|
|
4 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|