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

Issue 246253009: Multiprofile: switch to newly added user to the session (Closed)

Created:
6 years, 8 months ago by dpolukhin
Modified:
6 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Multiprofile: switch to newly added user to the session This CL remember pending user switch and do it as soon as profile ready. From UI perspective this look very smooth because profile loading is actually fast so previous desktop is not shown. But if it will be a problem on slow device we may need to stay on add user screen a bit longer. BUG=333879 TEST=manual R=nkostylev@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266239

Patch Set 1 #

Patch Set 2 : fixed tests #

Patch Set 3 : fixed PreferencesTest.MultiProfiles #

Total comments: 4

Patch Set 4 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -14 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_browsertest.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/preferences_browsertest.cc View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dmitry Polukhin
PTAL
6 years, 8 months ago (2014-04-24 19:41:24 UTC) #1
Nikita (slow)
lgtm https://codereview.chromium.org/246253009/diff/40001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (left): https://codereview.chromium.org/246253009/diff/40001/chrome/browser/chromeos/login/user_manager_impl.cc#oldcode428 chrome/browser/chromeos/login/user_manager_impl.cc:428: WallpaperManager::Get()->SetUserWallpaperNow(active_user_->email()); So I guess we don't need to ...
6 years, 8 months ago (2014-04-25 15:00:07 UTC) #2
Dmitry Polukhin
https://codereview.chromium.org/246253009/diff/40001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (left): https://codereview.chromium.org/246253009/diff/40001/chrome/browser/chromeos/login/user_manager_impl.cc#oldcode428 chrome/browser/chromeos/login/user_manager_impl.cc:428: WallpaperManager::Get()->SetUserWallpaperNow(active_user_->email()); On 2014/04/25 15:00:08, Nikita Kostylev wrote: > So ...
6 years, 8 months ago (2014-04-25 16:07:20 UTC) #3
Dmitry Polukhin
The CQ bit was checked by dpolukhin@chromium.org
6 years, 8 months ago (2014-04-25 16:07:24 UTC) #4
dpolukhin
Committed patchset #4 manually as r266239 (presubmit successful).
6 years, 8 months ago (2014-04-25 21:01:03 UTC) #5
Nikita (slow)
6 years, 7 months ago (2014-04-30 10:58:34 UTC) #6
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/257393003/ by nkostylev@chromium.org.

The reason for reverting is: Suspecting this change as a root cause for
superflaky UserAddingScreenTest.AddingSeveralUsers

See http://crbug.com/368621.

Powered by Google App Engine
This is Rietveld 408576698