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

Issue 2872453005: Add Yandex referral ID to search URL. (Closed)

Created:
3 years, 7 months ago by Ted C
Modified:
3 years, 7 months ago
CC:
chromium-reviews, vasilii+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Yandex referral ID to search URL. The ID is generated in the downstream code based on the results of the build configuration. BUG=713952 Review-Url: https://codereview.chromium.org/2872453005 Cr-Commit-Position: refs/heads/master@{#471013} Committed: https://chromium.googlesource.com/chromium/src/+/2928c63356681aa17fcaa112dc7d6bd3bc29e6d8

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Add test #

Patch Set 4 : Clear app data in test setup to remove initial locale set for search engines from previous runs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/locale/LocaleManagerReferralTest.java View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/android/locale/locale_manager.h View 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/android/locale/locale_manager.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data_android.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/search_engines/prepopulated_engines.json View 1 chunk +1 line, -1 line 0 comments Download
M components/search_engines/search_terms_data.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/search_engines/search_terms_data.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/search_engines/template_url.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/search_engines/template_url.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Ted C
PTAL pkasting - components/search_engines/ yusufo - chrome/
3 years, 7 months ago (2017-05-08 18:35:56 UTC) #2
Peter Kasting
LGTM, but consider whether you want a test for this https://codereview.chromium.org/2872453005/diff/1/components/search_engines/search_terms_data.h File components/search_engines/search_terms_data.h (right): https://codereview.chromium.org/2872453005/diff/1/components/search_engines/search_terms_data.h#newcode65 ...
3 years, 7 months ago (2017-05-09 00:14:25 UTC) #3
Ted C
I'm OOO tomorrow, but I'll work on adding a test of some sort. For the ...
3 years, 7 months ago (2017-05-09 04:38:33 UTC) #4
Yusuf
android bits lgtm with a suggestion. https://codereview.chromium.org/2872453005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java File chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java (right): https://codereview.chromium.org/2872453005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java#newcode280 chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java:280: protected String getYandexReferralId() ...
3 years, 7 months ago (2017-05-09 23:18:52 UTC) #5
Ted C
Updated with comments addressed (hopefully). Working on the test still as I am running into ...
3 years, 7 months ago (2017-05-10 15:20:29 UTC) #6
Ted C
Test added
3 years, 7 months ago (2017-05-10 15:48:13 UTC) #7
Ted C
+twellington to review the newly added java test: LocaleManagerReferralTest.java
3 years, 7 months ago (2017-05-10 17:32:13 UTC) #9
Theresa
New test lgtm
3 years, 7 months ago (2017-05-10 17:37:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2872453005/40001
3 years, 7 months ago (2017-05-10 17:40:28 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/440973)
3 years, 7 months ago (2017-05-10 20:10:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2872453005/40001
3 years, 7 months ago (2017-05-10 21:13:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/290994)
3 years, 7 months ago (2017-05-11 03:57:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2872453005/60001
3 years, 7 months ago (2017-05-11 16:26:27 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 18:31:48 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2928c63356681aa17fcaa112dc7d...

Powered by Google App Engine
This is Rietveld 408576698