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

Issue 60443002: Fixing problem with user image in settings page when page gets called as visiting window on a multi… (Closed)

Created:
7 years, 1 month ago by Mr4D (OOO till 08-26)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org
Visibility:
Public.

Description

Fixing problem with user image in settings page when page gets called as visiting window on a multi profile desktop In Multi profile scenarios, a window can visit another users desktop and as such using the current user is incorrect. Instead the user from the current browser's profile should be taken to determine the user image. BUG=315078 TEST=visual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233225

Patch Set 1 #

Patch Set 2 : As discussed - for security added empty check #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years, 1 month ago (2013-11-05 17:54:41 UTC) #1
James Hawkins
LGTM with optional nit. https://codereview.chromium.org/60443002/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): https://codereview.chromium.org/60443002/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode473 chrome/browser/ui/webui/options/browser_options_handler.cc:473: values->SetString("username", name.empty() ? name : ...
7 years, 1 month ago (2013-11-05 18:51:44 UTC) #2
Dmitry Polukhin
lgtm
7 years, 1 month ago (2013-11-05 19:02:57 UTC) #3
Mr4D (OOO till 08-26)
Thanks for your review! https://codereview.chromium.org/60443002/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): https://codereview.chromium.org/60443002/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode473 chrome/browser/ui/webui/options/browser_options_handler.cc:473: values->SetString("username", name.empty() ? name : ...
7 years, 1 month ago (2013-11-05 19:07:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/60443002/230001
7 years, 1 month ago (2013-11-05 19:13:39 UTC) #5
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 05:55:36 UTC) #6
Message was sent while issue was closed.
Change committed as 233225

Powered by Google App Engine
This is Rietveld 408576698