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

Issue 1828143002: Profile path is sent instead of an index to focus a user pod (Closed)

Created:
4 years, 9 months ago by lwchkg
Modified:
4 years, 8 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, anthonyvd, Roger Tawa OOO till Jul 10th
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Profile path is sent instead of the index to focus a user pod Currently the index in ProfileInfoCache is sent to chrome://user-manager to initially select the user pod when we use "Exit and childlock" function. This was a fragile implementation, and unfortunately led to a bug (596280) when SendUserList in user_manager_screen_handler.cc sent the user list in a different order. Now a profile path, which does not depend on any order, is sent instead. BUG=596280 Committed: https://crrev.com/c91db6cc7f37dd9d28c539a437423834fa058d10 Cr-Commit-Position: refs/heads/master@{#384339}

Patch Set 1 #

Patch Set 2 : Add new tests for checking regression. #

Total comments: 10

Patch Set 3 : Fix typo and nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -16 lines) Patch
M chrome/browser/profiles/profile_window.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_window_browsertest.cc View 1 2 5 chunks +80 lines, -0 lines 0 comments Download
A chrome/test/data/webui/profile_window_browsertest.js View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M ui/login/account_picker/user_pod_row.js View 1 2 1 chunk +11 lines, -9 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
lwchkg
Dear Mike and achuith@, PTAL. This CL fixes bug 596280, which is introduced in https://crrev.com/376977 ...
4 years, 9 months ago (2016-03-24 04:21:52 UTC) #5
achuithb
Pasha is more familiar with this code
4 years, 9 months ago (2016-03-24 18:12:32 UTC) #7
lwchkg
+dbeam@ Dear Mike, dzhioev@, Dan Beam, PTAL. This CL fixes bug 596280, which is introduced ...
4 years, 9 months ago (2016-03-24 19:24:13 UTC) #9
dzhioev (left Google)
user_pod_row.js LGTM
4 years, 9 months ago (2016-03-25 22:02:48 UTC) #10
Mike Lerman
lgtm
4 years, 8 months ago (2016-03-29 13:40:03 UTC) #11
lwchkg
On 2016/03/29 13:40:03, Mike Lerman wrote: > lgtm Should I make a merge request? If ...
4 years, 8 months ago (2016-03-29 15:01:03 UTC) #12
Mike Lerman
On 2016/03/29 15:01:03, lwchkg wrote: > On 2016/03/29 13:40:03, Mike Lerman wrote: > > lgtm ...
4 years, 8 months ago (2016-03-29 16:59:21 UTC) #13
lwchkg
dbeam@: ping. I need your review on chrome/test/data/webui/*. Thanks a lot!
4 years, 8 months ago (2016-03-30 16:03:10 UTC) #14
Dan Beam
i don't think you're actually running the file you've added... https://codereview.chromium.org/1828143002/diff/20001/chrome/test/data/webui/profile_window_browsertest.js File chrome/test/data/webui/profile_window_browsertest.js (right): https://codereview.chromium.org/1828143002/diff/20001/chrome/test/data/webui/profile_window_browsertest.js#newcode5 ...
4 years, 8 months ago (2016-03-30 17:53:29 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828143002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828143002/40001
4 years, 8 months ago (2016-03-31 14:43:45 UTC) #17
lwchkg
> i don't think you're actually running the file you've added... New patch uploaded. Anyway ...
4 years, 8 months ago (2016-03-31 14:48:17 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-31 16:04:36 UTC) #20
Dan Beam
lgtm https://codereview.chromium.org/1828143002/diff/20001/chrome/browser/profiles/profile_window_browsertest.cc File chrome/browser/profiles/profile_window_browsertest.cc (right): https://codereview.chromium.org/1828143002/diff/20001/chrome/browser/profiles/profile_window_browsertest.cc#newcode268 chrome/browser/profiles/profile_window_browsertest.cc:268: EXPECT_TRUE(RunJavascriptTest("testNoPodFocuesd")); On 2016/03/31 14:48:16, lwchkg wrote: > The ...
4 years, 8 months ago (2016-03-31 17:51:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828143002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828143002/40001
4 years, 8 months ago (2016-03-31 18:19:19 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-03-31 18:27:03 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 18:28:37 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c91db6cc7f37dd9d28c539a437423834fa058d10
Cr-Commit-Position: refs/heads/master@{#384339}

Powered by Google App Engine
This is Rietveld 408576698