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

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

Issue 11448005: Add Android-specific parameters to search_engines/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 8 years 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/search_terms_data.h
diff --git a/chrome/browser/search_engines/search_terms_data.h b/chrome/browser/search_engines/search_terms_data.h
index 1fe7e9f3c8484f1a15fbda03bb72a580be58023c..8d221ece175ea676f04a4ddfa3fa9a14505f11a7 100644
--- a/chrome/browser/search_engines/search_terms_data.h
+++ b/chrome/browser/search_engines/search_terms_data.h
@@ -32,11 +32,13 @@ class SearchTermsData {
// "en" and thus should be overridden where the result is actually meaningful.
virtual std::string GetApplicationLocale() const;
-#if defined(ENABLE_RLZ)
// Returns the value for the Chrome Omnibox rlz. This implementation returns
// the empty string.
virtual string16 GetRlzParameterValue() const;
-#endif
+
+ // The optional client parameter passed with Google search requests. This
+ // implementation returns the empty string.
+ virtual std::string GetSearchClient() const;
// Returns a string indicating whether Instant (in the visible-preview mode)
// is enabled, suitable for adding as a query string param to the homepage
@@ -59,9 +61,8 @@ class UIThreadSearchTermsData : public SearchTermsData {
virtual std::string GoogleBaseURLValue() const OVERRIDE;
virtual std::string GetApplicationLocale() const OVERRIDE;
-#if defined(ENABLE_RLZ)
virtual string16 GetRlzParameterValue() const OVERRIDE;
-#endif
+ virtual std::string GetSearchClient() const OVERRIDE;
virtual std::string InstantEnabledParam() const OVERRIDE;
// Used by tests to override the value for the Google base URL. Passing the
« no previous file with comments | « chrome/browser/search_engines/prepopulated_engines.json ('k') | chrome/browser/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698