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

Unified Diff: chrome/browser/search_engines/ui_thread_search_terms_data_android.cc

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: chrome/browser/search_engines/ui_thread_search_terms_data_android.cc
diff --git a/chrome/browser/search_engines/ui_thread_search_terms_data_android.cc b/chrome/browser/search_engines/ui_thread_search_terms_data_android.cc
index 4cae7e267cc414d391c6acfb0c2735b96b37e7cf..ca93cce6ff4dc86322d0c4642dfcefbfc8cd3a7d 100644
--- a/chrome/browser/search_engines/ui_thread_search_terms_data_android.cc
+++ b/chrome/browser/search_engines/ui_thread_search_terms_data_android.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/search_engines/ui_thread_search_terms_data_android.h"
+#include "chrome/browser/android/locale/locale_manager.h"
#include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
#include "content/public/browser/browser_thread.h"
@@ -28,3 +29,7 @@ std::string UIThreadSearchTermsData::GetSearchClient() const {
content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
return SearchTermsDataAndroid::search_client_.Get();
}
+
+std::string UIThreadSearchTermsData::YandexReferralID() const {
+ return LocaleManager::GetYandexReferralID();
+}

Powered by Google App Engine
This is Rietveld 408576698