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

Unified Diff: components/search_engines/search_terms_data.h

Issue 2872453005: Add Yandex referral ID to search URL. (Closed)
Patch Set: 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
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..6a441b0ce04b511ecf4958495221b98f1b05a113 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 (return the empty string if not supported/applicable).
Peter Kasting 2017/05/09 00:14:25 Nit: returns
Ted C 2017/05/10 15:20:29 Done.
+ virtual std::string YandexReferralID() const;
Peter Kasting 2017/05/09 00:14:25 Nit: GetYandexReferralId()
Ted C 2017/05/10 15:20:29 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
};

Powered by Google App Engine
This is Rietveld 408576698