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

Issue 2804043002: Enable variations restrict param for Java-side fetches. (Closed)

Created:
3 years, 8 months ago by Alexei Svitkine (slow)
Modified:
3 years, 8 months ago
Reviewers:
Ted C
CC:
chromium-reviews, asvitkine+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable variations restrict param for Java-side fetches. Prior to this change, when we fetched the variations seed from Java could, it was not using the correct restrict param in the URL. This change plumbs it through. See bug for more details. BUG=708713 Review-Url: https://codereview.chromium.org/2804043002 Cr-Commit-Position: refs/heads/master@{#463033} Committed: https://chromium.googlesource.com/chromium/src/+/0f6eda879ba71dde2e5e050892dfaf36d425f0ec

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix test compile. #

Patch Set 3 : Addressed comments. #

Total comments: 2

Messages

Total messages: 60 (42 generated)
Alexei Svitkine (slow)
3 years, 8 months ago (2017-04-07 18:17:53 UTC) #25
Ted C
https://codereview.chromium.org/2804043002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java File chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java (right): https://codereview.chromium.org/2804043002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java#newcode75 chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java:75: private String mRestrictMode; final? https://codereview.chromium.org/2804043002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java#newcode78 chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitTaskRunner.java:78: this.mRestrictMode = restrictMode; ...
3 years, 8 months ago (2017-04-07 18:45:42 UTC) #29
Ted C
lgtm w/ long winded probably unnecessary comment https://codereview.chromium.org/2804043002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java File chrome/android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java (right): https://codereview.chromium.org/2804043002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java#newcode53 chrome/android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java:53: getRestrictMode(context, new ...
3 years, 8 months ago (2017-04-07 19:13:43 UTC) #33
Alexei Svitkine (slow)
Thanks! Will submit once I verify this is working as intended with a local build. ...
3 years, 8 months ago (2017-04-07 19:18:53 UTC) #34
Alexei Svitkine (slow)
Confirmed this to be working on a device. Submitting.
3 years, 8 months ago (2017-04-07 19:43:13 UTC) #35
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/2804043002/120001
3 years, 8 months ago (2017-04-07 19:43:37 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/405780)
3 years, 8 months ago (2017-04-07 19:54:45 UTC) #40
Alexei Svitkine (slow)
On 2017/04/07 19:54:45, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 8 months ago (2017-04-07 20:01:12 UTC) #41
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/2804043002/120001
3 years, 8 months ago (2017-04-07 20:02:03 UTC) #43
Alexei Svitkine (slow)
Looks like checkstyle was just updated by zpeng: https://chromium.googlesource.com/chromium/src/+/dbce02f63421f7d446d6ef317b456f6ae911f63b Checking with them.
3 years, 8 months ago (2017-04-07 20:03:38 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/405810)
3 years, 8 months ago (2017-04-07 20:12:19 UTC) #46
Alexei Svitkine (slow)
Confirmed it's related to that change when I patch it in locally, it give that ...
3 years, 8 months ago (2017-04-07 20:14:41 UTC) #47
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/2804043002/120001
3 years, 8 months ago (2017-04-07 20:15:34 UTC) #50
Alexei Svitkine (slow)
On 2017/04/07 20:14:41, Alexei Svitkine (slow) wrote: > Confirmed it's related to that change when ...
3 years, 8 months ago (2017-04-07 20:16:15 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/405823)
3 years, 8 months ago (2017-04-07 20:24:39 UTC) #53
Alexei Svitkine (slow)
PRESUBMIT=false apparently didn't work. Removing it and just waiting for the revert to land: https://codereview.chromium.org/2808553002/
3 years, 8 months ago (2017-04-07 20:28:02 UTC) #54
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/2804043002/120001
3 years, 8 months ago (2017-04-07 22:29:48 UTC) #57
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 23:18:01 UTC) #60
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/0f6eda879ba71dde2e5e050892df...

Powered by Google App Engine
This is Rietveld 408576698