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

Issue 23691045: Update managed user registration to allow updating the avatar (Closed)

Created:
7 years, 3 months ago by ibra
Modified:
7 years, 3 months ago
Reviewers:
Bernhard Bauer, Sergiu
CC:
chromium-reviews, dbeam+watch-options_chromium.org, nkostylev+watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Update managed user registration to allow updating the avatar Add a method ManagedUserSyncService::UpdateManagedUserAvatar to update the avatar of an existing managed user. Update ManagedUserRegistartionUtility::Register to call the above method when a managed user is being imported and updating his avatar is required. BUG=292415 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223333

Patch Set 1 : ... #

Patch Set 2 : ... #

Total comments: 2

Patch Set 3 : bauerb #

Total comments: 6

Patch Set 4 : bauerb@+ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -25 lines) Patch
M chrome/browser/managed_mode/managed_user_registration_utility.h View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_utility.cc View 1 2 3 5 chunks +28 lines, -15 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_sync_service.h View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_user_sync_service.cc View 1 2 5 chunks +58 lines, -2 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_sync_service_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/managed_user_import_handler.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ibra
Hey Sergiu, can you please take a look? Thanks!
7 years, 3 months ago (2013-09-11 14:57:01 UTC) #1
Sergiu
+Bernhard lgtm. Also, could we add a test for this somewhere?
7 years, 3 months ago (2013-09-13 11:14:18 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/23691045/diff/14001/chrome/browser/managed_mode/managed_user_registration_utility.cc File chrome/browser/managed_mode/managed_user_registration_utility.cc (right): https://codereview.chromium.org/23691045/diff/14001/chrome/browser/managed_mode/managed_user_registration_utility.cc#newcode218 chrome/browser/managed_mode/managed_user_registration_utility.cc:218: if (update_avatar) { Couldn't we infer this from the ...
7 years, 3 months ago (2013-09-13 11:24:20 UTC) #3
ibra
PTAL, thanks! https://codereview.chromium.org/23691045/diff/14001/chrome/browser/managed_mode/managed_user_registration_utility.cc File chrome/browser/managed_mode/managed_user_registration_utility.cc (right): https://codereview.chromium.org/23691045/diff/14001/chrome/browser/managed_mode/managed_user_registration_utility.cc#newcode218 chrome/browser/managed_mode/managed_user_registration_utility.cc:218: if (update_avatar) { On 2013/09/13 11:24:20, Bernhard ...
7 years, 3 months ago (2013-09-13 14:16:50 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/23691045/diff/24001/chrome/browser/managed_mode/managed_user_registration_utility.cc File chrome/browser/managed_mode/managed_user_registration_utility.cc (right): https://codereview.chromium.org/23691045/diff/24001/chrome/browser/managed_mode/managed_user_registration_utility.cc#newcode214 chrome/browser/managed_mode/managed_user_registration_utility.cc:214: avatar_updated_ = Nit: two spaces less. https://codereview.chromium.org/23691045/diff/24001/chrome/browser/managed_mode/managed_user_sync_service.h File chrome/browser/managed_mode/managed_user_sync_service.h ...
7 years, 3 months ago (2013-09-13 20:17:24 UTC) #5
ibra
https://codereview.chromium.org/23691045/diff/24001/chrome/browser/managed_mode/managed_user_registration_utility.cc File chrome/browser/managed_mode/managed_user_registration_utility.cc (right): https://codereview.chromium.org/23691045/diff/24001/chrome/browser/managed_mode/managed_user_registration_utility.cc#newcode214 chrome/browser/managed_mode/managed_user_registration_utility.cc:214: avatar_updated_ = On 2013/09/13 20:17:24, Bernhard Bauer wrote: > ...
7 years, 3 months ago (2013-09-16 08:59:09 UTC) #6
Bernhard Bauer
lgtm
7 years, 3 months ago (2013-09-16 09:03:12 UTC) #7
Bernhard Bauer
Can you add a bug number for this please?
7 years, 3 months ago (2013-09-16 09:03:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@chromium.org/23691045/35001
7 years, 3 months ago (2013-09-16 09:21:58 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 12:40:27 UTC) #10
Message was sent while issue was closed.
Change committed as 223333

Powered by Google App Engine
This is Rietveld 408576698