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

Issue 2666893002: Delete "Google Profile photo" for the Active Directory (Closed)

Created:
3 years, 10 months ago by Roman Sorokin (ftl)
Modified:
3 years, 10 months ago
Reviewers:
achuithb
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete "Google Profile photo" for the Active Directory Delete "Google Profile photo" choice from the image choice screen for the Active Directory users. BUG=682236 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2666893002 Cr-Commit-Position: refs/heads/master@{#447513} Committed: https://chromium.googlesource.com/chromium/src/+/33f901b2ff76e1d08d80e3ba5d1d079178cb4978

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -22 lines) Patch
M chrome/browser/chromeos/login/screens/user_image_model.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_image_model.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_image_screen.cc View 1 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_user_image.js View 3 chunks +26 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Roman Sorokin (ftl)
Hey Achuith, could you PTAL? Thanks!
3 years, 10 months ago (2017-01-31 10:28:13 UTC) #5
achuithb
lgtm https://codereview.chromium.org/2666893002/diff/1/chrome/browser/chromeos/login/screens/user_image_screen.cc File chrome/browser/chromeos/login/screens/user_image_screen.cc (right): https://codereview.chromium.org/2666893002/diff/1/chrome/browser/chromeos/login/screens/user_image_screen.cc#newcode283 chrome/browser/chromeos/login/screens/user_image_screen.cc:283: const user_manager::User* user = GetUser(); Maybe add a ...
3 years, 10 months ago (2017-01-31 20:33:05 UTC) #8
Roman Sorokin (ftl)
https://codereview.chromium.org/2666893002/diff/1/chrome/browser/chromeos/login/screens/user_image_screen.cc File chrome/browser/chromeos/login/screens/user_image_screen.cc (right): https://codereview.chromium.org/2666893002/diff/1/chrome/browser/chromeos/login/screens/user_image_screen.cc#newcode283 chrome/browser/chromeos/login/screens/user_image_screen.cc:283: const user_manager::User* user = GetUser(); On 2017/01/31 20:33:05, achuithb ...
3 years, 10 months ago (2017-02-01 13:15:56 UTC) #9
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/2666893002/20001
3 years, 10 months ago (2017-02-01 13:16:20 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/33f901b2ff76e1d08d80e3ba5d1d079178cb4978
3 years, 10 months ago (2017-02-01 15:13:26 UTC) #15
Alexander Alekseev
3 years, 9 months ago (2017-03-03 04:53:40 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/2727953004/ by alemate@chromium.org.

The reason for reverting is: First, this has a race:
CONTEXT_KEY_HAS_GAIA_ACCOUNT can (and actually does) come after
CONTEXT_KEY_PROFILE_PICTURE_DATA_URL thus triggering exception:

login.js:1208 Uncaught TypeError: Cannot read property 'title' of undefined
    at HTMLUnknownElement.updateItem (login.js:1208)
    at Array.<anonymous> (login.js:9504)
    at ScreenContext.applyChanges (login.js:538)
    at HTMLDivElement.contextChanged_ (login.js:329)
    at Object.api.contextChanged (login.js:424)
    at <anonymous>:1:23

Second, it breaks supervised user creation screen (and probably other screens
that share user-image-grid object).

BUG=697842,682236.

Powered by Google App Engine
This is Rietveld 408576698