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

Unified Diff: chrome/browser/search_engines/template_url_service.h

Issue 21395002: [InstantExtended] Fixing how PageLoadSRP is emitted. Previously it was emitted only for Instant sea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last upload didn't seem to work Created 7 years, 5 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_engines/template_url_service.h
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
index a7e3e24b065b7126ffbfcfeeb96209aa869fb9e6..1dcd1a11e9ff5d89de480bf2ebe7d0babab96287 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -228,6 +228,10 @@ class TemplateURLService : public WebDataServiceConsumer,
// NOTE: At least in unittest mode, this may return NULL.
TemplateURL* GetDefaultSearchProvider();
+ // Returns if the current url is a search results page from the
+ // default search provider.
+ bool IsSearchResultsPageFromDefaultSearchProvider(const GURL current_url);
Mark P 2013/07/31 23:16:49 Please consider adding a test for this.
+
// Returns true if the default search is managed through group policy.
bool is_default_search_managed() const { return is_default_search_managed_; }

Powered by Google App Engine
This is Rietveld 408576698