| Index: chrome/browser/ui/search/search_ipc_router.cc
|
| diff --git a/chrome/browser/ui/search/search_ipc_router.cc b/chrome/browser/ui/search/search_ipc_router.cc
|
| index 59fc1988986601d95e6c568d6028e9fb76939ca7..a67927b0f96691892a8f9747a1adae6ea83b07db 100644
|
| --- a/chrome/browser/ui/search/search_ipc_router.cc
|
| +++ b/chrome/browser/ui/search/search_ipc_router.cc
|
| @@ -54,18 +54,6 @@ void SearchIPCRouter::SendHistorySyncCheckResult(bool sync_history) {
|
| Send(new ChromeViewMsg_HistorySyncCheckResult(routing_id(), sync_history));
|
| }
|
|
|
| -void SearchIPCRouter::SetDisplayInstantResults() {
|
| - if (!policy_->ShouldSendSetDisplayInstantResults())
|
| - return;
|
| -
|
| - bool is_search_results_page = !search::GetSearchTerms(web_contents()).empty();
|
| - bool display_instant_results =
|
| - is_search_results_page ? search::ShouldPrefetchSearchResultsOnSRP()
|
| - : search::ShouldPrefetchSearchResults();
|
| - Send(new ChromeViewMsg_SearchBoxSetDisplayInstantResults(
|
| - routing_id(), display_instant_results));
|
| -}
|
| -
|
| void SearchIPCRouter::SetSuggestionToPrefetch(
|
| const InstantSuggestion& suggestion) {
|
| if (!policy_->ShouldSendSetSuggestionToPrefetch())
|
|
|