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

Unified Diff: components/search_engines/search_terms_data.h

Issue 2872453005: Add Yandex referral ID to search URL. (Closed)
Patch Set: Clear app data in test setup to remove initial locale set for search engines from previous runs. Created 3 years, 7 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 | « components/search_engines/prepopulated_engines.json ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/search_terms_data.h
diff --git a/components/search_engines/search_terms_data.h b/components/search_engines/search_terms_data.h
index 50f7ed2eb9391325f06b2d551cb1674f04fbc994..c72b99222f4cb7545bc1275ef2f3447945096955 100644
--- a/components/search_engines/search_terms_data.h
+++ b/components/search_engines/search_terms_data.h
@@ -61,6 +61,10 @@ class SearchTermsData {
// GOOGLE_IMAGE_SEARCH_SOURCE.
virtual std::string GoogleImageSearchSource() const;
+ // Returns the optional referral ID to be passed to Yandex when searching from
+ // the omnibox (returns the empty string if not supported/applicable).
+ virtual std::string GetYandexReferralID() const;
+
private:
DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
};
« no previous file with comments | « components/search_engines/prepopulated_engines.json ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698