| Index: chrome/browser/search/search.cc
|
| diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
|
| index 2e62b2d6846a9dbe4e3aa79466004933061c0e19..144501d2f97c59b68c34d277569fbb8dafa98fb7 100644
|
| --- a/chrome/browser/search/search.cc
|
| +++ b/chrome/browser/search/search.cc
|
| @@ -348,15 +348,17 @@ GURL GetInstantURL(Profile* profile, int start_margin) {
|
| }
|
|
|
| GURL GetLocalInstantURL(Profile* profile) {
|
| + return GURL(chrome::kChromeSearchLocalNtpUrl);
|
| +}
|
| +
|
| +bool DefaultSearchProviderIsGoogle(Profile* profile) {
|
| + DCHECK(profile);
|
| const TemplateURL* default_provider =
|
| GetDefaultSearchProviderTemplateURL(profile);
|
|
|
| - if (default_provider &&
|
| + return default_provider &&
|
| (TemplateURLPrepopulateData::GetEngineType(default_provider->url()) ==
|
| - SEARCH_ENGINE_GOOGLE)) {
|
| - return GURL(chrome::kChromeSearchLocalGoogleNtpUrl);
|
| - }
|
| - return GURL(chrome::kChromeSearchLocalNtpUrl);
|
| + SEARCH_ENGINE_GOOGLE);
|
| }
|
|
|
| bool ShouldPreferRemoteNTPOnStartup() {
|
|
|