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

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: Handle TemplateURL change 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
Index: chrome/browser/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index ade3587eceff725263a1bbc3013ae4fd6bb4e02a..697ef31efb335344c64abca98af5643b724a39df 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 Instant URLs associated with the default search engine for |profile|.
samarth 2013/09/20 16:43:40 nit: can we not call them Instant URLs? I'd like t
Jered 2013/09/20 20:55:49 Done.
+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

Powered by Google App Engine
This is Rietveld 408576698