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

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

Issue 2651763002: Cleanup in components/search and chrome/browser/search (Closed)
Patch Set: Created 3 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
Index: chrome/browser/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 86d66d4fca34982dc5834a865966b31c01c63d55..c68bc71cd224bf1646adf0a0e8674d36f31cd175 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -36,11 +36,6 @@ bool IsSuggestPrefEnabled(Profile* profile);
// Extracts and returns search terms from |url|.
base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url);
-// Returns true if it is okay to extract search terms from |url|. |url| must
-// have a secure scheme and must contain the search terms replacement key for
-// the default search provider.
-bool IsQueryExtractionAllowedForURL(Profile* profile, const GURL& url);
-
// Returns true if |url| should be rendered in the Instant renderer process.
bool ShouldAssignURLToInstantRenderer(const GURL& url, Profile* profile);
@@ -125,10 +120,6 @@ bool HandleNewTabURLRewrite(GURL* url,
bool HandleNewTabURLReverseRewrite(GURL* url,
content::BrowserContext* browser_context);
-// -----------------------------------------------------
-// The following APIs are exposed for use in tests only.
Marc Treib 2017/01/24 08:57:20 Not true, it's used in non-testing code too.
-// -----------------------------------------------------
-
// Returns the Cacheable New Tab Page URL for the given |profile|.
GURL GetNewTabPageURL(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698