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

Issue 1341423005: ChildAccountService[Java] delegates everything to native side. (Closed)

Created:
5 years, 3 months ago by knn
Modified:
5 years, 3 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@child
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChildAccountService[Java] delegates everything to native side. Most of the child account detection/enforcement logic has been divided amongst the ChildAccountInfoFetcher and ForcedSigninProcessor. ForcedSigninProcessor will make sure that child accounts are detected and are signed in. ChildAccountInfoFetcher only activates on signin and informs the native ChildAccountService about the child account and takes responsiblity for any further updates (graduation) or account changes. Depends on http://crrev.com/1357643002 Dependent patchset http://crrev.com/1353393002 BUG=518830 Committed: https://crrev.com/1c628b552ba2f3619518c22f25ef983e81490831 Cr-Commit-Position: refs/heads/master@{#350138}

Patch Set 1 #

Total comments: 5

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -750 lines) Patch
M chrome/android/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java View 1 2 chunks +43 lines, -285 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/services/AndroidEduAndChildAccountHelper.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java View 6 chunks +8 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/SyncCustomizationFragment.java View 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/junit/src/org/chromium/chrome/browser/childaccounts/ChildAccountServiceTest.java View 1 chunk +0 lines, -363 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/child_account_service.h View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/child_account_service.cc View 3 chunks +20 lines, -31 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/child_account_service_android.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/child_account_service_android.cc View 1 chunk +2 lines, -43 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
knn
PTAL part 2 of the change. Added comments in ChildAccountService and the issue description.
5 years, 3 months ago (2015-09-21 14:13:14 UTC) #2
Bernhard Bauer
LGTM w/ comment nits: https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java File chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java (right): https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java:23: * checkHasChildAccount(...) which is asynchronous ...
5 years, 3 months ago (2015-09-21 14:29:38 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341423005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341423005/20001
5 years, 3 months ago (2015-09-21 14:42:14 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/71698)
5 years, 3 months ago (2015-09-21 14:43:55 UTC) #7
knn
Thanks! https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java File chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java (right): https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java:23: * checkHasChildAccount(...) which is asynchronous and queries the ...
5 years, 3 months ago (2015-09-21 14:53:03 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java File chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java (right): https://codereview.chromium.org/1341423005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java:23: * checkHasChildAccount(...) which is asynchronous and queries the system ...
5 years, 3 months ago (2015-09-21 15:18:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341423005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341423005/20001
5 years, 3 months ago (2015-09-22 10:16:46 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-22 11:14:10 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1c628b552ba2f3619518c22f25ef983e81490831 Cr-Commit-Position: refs/heads/master@{#350138}
5 years, 3 months ago (2015-09-22 11:15:02 UTC) #14
dcheng
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1367783002/ by dcheng@chromium.org. ...
5 years, 3 months ago (2015-09-23 23:24:15 UTC) #15
dcheng
5 years, 3 months ago (2015-09-23 23:28:35 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1362723006/ by dcheng@chromium.org.

The reason for reverting is: This patch breaks git on case-insensitive
filesystems..

Powered by Google App Engine
This is Rietveld 408576698