Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4375)

Unified Diff: chrome/browser/search/search.h

Issue 137993020: (Try 2) InstantExtended: remove dead code related to the non-cacheable NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable InstantPolicyTests Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/search/instant_service_unittest.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 85473523906ff3e9dc183404486c465961954bd5..7a3af4c753c6777d9c906d2f19c5554ed64e8071 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -154,13 +154,6 @@ GURL GetLocalInstantURL(Profile* profile);
// match. See comments on ShouldHideTopMatch in autocomplete_result.h.
bool ShouldHideTopVerbatimMatch();
-// Returns true if the cacheable NTP should be shown and false if not.
-// Exposed for testing.
-bool ShouldUseCacheableNTP();
-
-// Returns true if the Instant NTP should be shown and false if not.
-bool ShouldShowInstantNTP();
-
// Returns when we should show a search button in the omnibox. This may be any
// of several values, some of which depend on whether the underlying state of
// the page would normally be to perform search term replacement; see also
@@ -194,13 +187,6 @@ OriginChipPosition GetOriginChipPosition();
// and hence different processes.
GURL GetEffectiveURLForInstant(const GURL& url, Profile* profile);
-// Returns the staleness timeout (in seconds) that should be used to refresh the
-// InstantLoader.
-int GetInstantLoaderStalenessTimeoutSec();
-
-// Returns true if |contents| corresponds to a preloaded instant extended NTP.
-bool IsPreloadedInstantExtendedNTP(const content::WebContents* contents);
-
// Rewrites |url| if
// 1. |url| is kChromeUINewTabURL,
// 2. InstantExtended is enabled, and
« no previous file with comments | « chrome/browser/search/instant_service_unittest.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698