Chromium Code Reviews| Index: chrome/browser/search/search.h |
| diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h |
| index dfc202e9fa3a38ebe1a346a0a16765469c3f7435..e1fec526def25d4684db222901e1f026c48d44f2 100644 |
| --- a/chrome/browser/search/search.h |
| +++ b/chrome/browser/search/search.h |
| @@ -97,11 +97,14 @@ bool NavEntryIsInstantNTP(const content::WebContents* contents, |
| // lead to an infinite recursion. |
| GURL GetInstantURL(Profile* profile, int start_margin); |
| -// Returns the Local Instant URL of the default search engine. In particular, |
| -// a Google search provider will include a special query parameter, indicating |
| -// to the JS that Google-specific New Tab Page elements should be rendered. |
| +// Returns the Local Instant URL of the New Tab Page. |
| +// TODO(kmadhusu): Remove this function and update the call sites. |
| GURL GetLocalInstantURL(Profile* profile); |
| +// Returns true if the default search provider is Google. Used to indicate the |
| +// JS that Google-specific New Tab Page elements should be rendered. |
| +bool DefaultSearchProviderIsGoogle(Profile* profile); |
|
samarth
2013/07/17 16:39:45
Let's just move this as a helper function in an an
kmadhusu
2013/07/17 17:58:03
Done.
|
| + |
| // Returns true if 'use_remote_ntp_on_startup' flag is enabled in field trials |
| // to always show the remote NTP on browser startup. |
| bool ShouldPreferRemoteNTPOnStartup(); |