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

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

Issue 23455047: InstantExtended: Send search URLs to renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More browsertest fixes Created 7 years, 3 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_unittest_base.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 ade3587eceff725263a1bbc3013ae4fd6bb4e02a..5f2eee5d0ef8a20056c06f7aab508c355607d039 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -113,6 +113,9 @@ bool NavEntryIsInstantNTP(const content::WebContents* contents,
// lead to an infinite recursion.
GURL GetInstantURL(Profile* profile, int start_margin);
+// Returns URLs associated with the default search engine for |profile|.
+std::vector<GURL> GetSearchURLs(Profile* profile);
+
// Returns the Local Instant URL of the New Tab Page.
// TODO(kmadhusu): Remove this function and update the call sites.
GURL GetLocalInstantURL(Profile* profile);
@@ -141,9 +144,6 @@ bool ShouldShowRecentTabsOnNTP();
// page.
bool ShouldSuppressInstantExtendedOnSRP();
-// Returns true if |my_url| matches |other_url|.
-bool MatchesOriginAndPath(const GURL& my_url, const GURL& other_url);
-
// Transforms the input |url| into its "effective URL". The returned URL
// facilitates grouping process-per-site. The |url| is transformed, for
// example, from
@@ -239,7 +239,6 @@ bool GetBoolValueForFlagWithDefault(const std::string& flag,
const FieldTrialFlags& flags);
// Returns the Cacheable New Tab Page URL for the given |profile|.
-// Exposed for testing only.
GURL GetNewTabPageURL(Profile* profile);
// Let tests reset the gate that prevents metrics from being sent more than
« no previous file with comments | « chrome/browser/search/instant_unittest_base.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698