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

Issue 147083016: Add avatar syncing for supervised users. (Closed)

Created:
6 years, 10 months ago by Adrian Kuegel
Modified:
6 years, 10 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, dbeam+watch-options_chromium.org, tfarina, pam+watch_chromium.org, Denis Kuznetsov (DE-MUC)
Visibility:
Public.

Description

Add avatar syncing for supervised users. When the supervised user changes his avatar, the change is synced to his other devices, as well as to the settings of the custodian who sees the updated avatar when opening the supervised user import overlay. BUG=339060 TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251044

Patch Set 1 #

Patch Set 2 : Use PrefChangeRegistrar. #

Patch Set 3 : Add unit tests. #

Total comments: 8

Patch Set 4 : Address review comments. #

Patch Set 5 : Fix typo. #

Total comments: 2

Patch Set 6 : Address nit. #

Patch Set 7 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -21 lines) Patch
M chrome/browser/managed_mode/managed_user_constants.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_constants.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_utility.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_utility.cc View 1 7 chunks +27 lines, -5 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc View 5 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_user_service.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/supervised_user_pref_mapping_service.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
A + chrome/browser/managed_mode/supervised_user_pref_mapping_service_factory.h View 1 chunk +10 lines, -10 lines 0 comments Download
A chrome/browser/managed_mode/supervised_user_pref_mapping_service_factory.cc View 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/supervised_user_pref_mapping_service_unittest.cc View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/managed_user_import.js View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/managed_user_import_handler.cc View 1 2 chunks +17 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Adrian Kuegel
Bernhard, can you please review this CL? Denis, as promised, I put you on cc. ...
6 years, 10 months ago (2014-02-06 16:57:02 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/147083016/diff/50001/chrome/browser/managed_mode/managed_user_registration_utility.h File chrome/browser/managed_mode/managed_user_registration_utility.h (right): https://codereview.chromium.org/147083016/diff/50001/chrome/browser/managed_mode/managed_user_registration_utility.h#newcode23 chrome/browser/managed_mode/managed_user_registration_utility.h:23: class ManagedUserSharedSettingsService; Nit: Keep sorted please. https://codereview.chromium.org/147083016/diff/50001/chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc File chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc ...
6 years, 10 months ago (2014-02-07 09:54:23 UTC) #2
Adrian Kuegel
https://codereview.chromium.org/147083016/diff/50001/chrome/browser/managed_mode/managed_user_registration_utility.h File chrome/browser/managed_mode/managed_user_registration_utility.h (right): https://codereview.chromium.org/147083016/diff/50001/chrome/browser/managed_mode/managed_user_registration_utility.h#newcode23 chrome/browser/managed_mode/managed_user_registration_utility.h:23: class ManagedUserSharedSettingsService; On 2014/02/07 09:54:24, Bernhard Bauer wrote: > ...
6 years, 10 months ago (2014-02-07 10:24:47 UTC) #3
Bernhard Bauer
LGTM with a nit: https://codereview.chromium.org/147083016/diff/140003/chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc File chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc (right): https://codereview.chromium.org/147083016/diff/140003/chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc#newcode63 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc:63: DCHECK(mu_id == managed_user_id_); Nit: DCHECK_EQ ...
6 years, 10 months ago (2014-02-07 11:10:24 UTC) #4
Adrian Kuegel
https://codereview.chromium.org/147083016/diff/140003/chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc File chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc (right): https://codereview.chromium.org/147083016/diff/140003/chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc#newcode63 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc:63: DCHECK(mu_id == managed_user_id_); On 2014/02/07 11:10:24, Bernhard Bauer wrote: ...
6 years, 10 months ago (2014-02-07 11:49:45 UTC) #5
Adrian Kuegel
Just FYI: I will not commit this CL yet, because there is still the issue ...
6 years, 10 months ago (2014-02-07 11:51:47 UTC) #6
Adrian Kuegel
The CQ bit was checked by akuegel@chromium.org
6 years, 10 months ago (2014-02-13 09:22:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akuegel@chromium.org/147083016/400002
6 years, 10 months ago (2014-02-13 09:22:26 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 16:08:53 UTC) #9
Message was sent while issue was closed.
Change committed as 251044

Powered by Google App Engine
This is Rietveld 408576698