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

Issue 2614183002: Expand code that syncs ToS-seen prefs on Android. (Closed)

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

Description

Expand code that syncs ToS-seen prefs on Android. With this change, this code will set both the Java and native side prefs if any of the three indicators of TOS being seen are true, i.e. either of the two prefs or "any user has seen ToS". This is especially needed to fix variations seed fetching from native code in the case of Backup & Restore, which does not appear to restore the Chrome native pref. BUG=669543 Review-Url: https://codereview.chromium.org/2614183002 Cr-Commit-Position: refs/heads/master@{#442065} Committed: https://chromium.googlesource.com/chromium/src/+/a82983afecb4762005ac0d57809c55382aa6d1dd

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunGlueImpl.java View 1 chunk +18 lines, -5 lines 1 comment Download

Messages

Total messages: 14 (9 generated)
Alexei Svitkine (slow)
3 years, 11 months ago (2017-01-06 20:12:04 UTC) #2
Ted C
lgtm
3 years, 11 months ago (2017-01-06 21:30:56 UTC) #7
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/2614183002/1
3 years, 11 months ago (2017-01-06 21:44:27 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/a82983afecb4762005ac0d57809c55382aa6d1dd
3 years, 11 months ago (2017-01-06 21:50:59 UTC) #12
aberent
3 years, 11 months ago (2017-01-13 10:34:47 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2614183002/diff/1/chrome/android/java/src/org...
File
chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunGlueImpl.java
(right):

https://codereview.chromium.org/2614183002/diff/1/chrome/android/java/src/org...
chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunGlueImpl.java:36:
//   - Backup & restore does not restore native pref, so this needs to update
it.
Why not simply add the native pref to the list of backed up prefs (see
chrome_backup_agent.cc)?

Powered by Google App Engine
This is Rietveld 408576698