| Index: chrome/browser/search/search.cc
|
| diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
|
| index 60f2cd302638dab7dda994a04c54b898da13cc41..c2ac4fe38940a8bc08f1ca941b0836a8c5823db4 100644
|
| --- a/chrome/browser/search/search.cc
|
| +++ b/chrome/browser/search/search.cc
|
| @@ -61,8 +61,6 @@ const char kUseSearchPathForInstant[] = "use_search_path_for_instant";
|
| const char kAltInstantURLPath[] = "search";
|
| const char kAltInstantURLQueryParams[] = "&qbp=1";
|
|
|
| -const char kShouldShowGoogleLocalNTPFlagName[] = "google_local_ntp";
|
| -
|
| // Status of the New Tab URL for the default Search provider. NOTE: Used in a
|
| // UMA histogram so values should only be added at the end and not reordered.
|
| enum NewTabURLState {
|
| @@ -502,12 +500,6 @@ bool ShouldPrerenderInstantUrlOnOmniboxFocus() {
|
| kPrerenderInstantUrlOnOmniboxFocus, false, flags);
|
| }
|
|
|
| -bool ShouldShowGoogleLocalNTP() {
|
| - FieldTrialFlags flags;
|
| - return !GetFieldTrialInfo(&flags) || GetBoolValueForFlagWithDefault(
|
| - kShouldShowGoogleLocalNTPFlagName, true, flags);
|
| -}
|
| -
|
| GURL GetEffectiveURLForInstant(const GURL& url, Profile* profile) {
|
| CHECK(ShouldAssignURLToInstantRenderer(url, profile))
|
| << "Error granting Instant access.";
|
|
|