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

Issue 1051843002: Use last active profile instead of default profile in profile manager (Closed)

Created:
5 years, 8 months ago by kaliamoorthi
Modified:
5 years, 8 months ago
CC:
chromium-reviews, rginda+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use last active profile instead of default profile in profile manager When profiles are deleted, new profiles are created in the directory Profile X. These directories are stored in last active profile. In metro mode, on initialization rather than last active profile, default profile corresponding to the directory Default is used resulting in problems on profile deletion. This CL makes ProfileManager::GetActiveUserProfile return last active profile instead of default profile for windows build to solve the problem. BUG=450192 Committed: https://crrev.com/e4bc3e8aae7ab612458ba94b0c6065dab7ae1da9 Cr-Commit-Position: refs/heads/master@{#325440}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moves the logic to ProfileManager::GetActiveUserProfile for windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/browser/profiles/profile_manager.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
kaliamoorthi
PTAL
5 years, 8 months ago (2015-04-01 15:20:07 UTC) #2
Mr4D (OOO till 08-26)
+dpolukhin since he is probably a better reviewer for this change.
5 years, 8 months ago (2015-04-01 15:24:45 UTC) #4
Dmitry Polukhin
Yeah... I'm not sure that I'm better reviewer. This CL changes desktop behavior that I'm ...
5 years, 8 months ago (2015-04-02 11:10:17 UTC) #5
kaliamoorthi
On 2015/04/02 11:10:17, Dmitry Polukhin wrote: > Yeah... I'm not sure that I'm better reviewer. ...
5 years, 8 months ago (2015-04-07 15:53:52 UTC) #6
Mr4D (OOO till 08-26)
Sorry was OOO for a week and just came back. I checked how we got ...
5 years, 8 months ago (2015-04-13 19:12:10 UTC) #7
kaliamoorthi
On 2015/04/13 19:12:10, Mr4D wrote: > Sorry was OOO for a week and just came ...
5 years, 8 months ago (2015-04-14 11:27:31 UTC) #8
kaliamoorthi
On 2015/04/14 11:27:31, kaliamoorthi wrote: > On 2015/04/13 19:12:10, Mr4D wrote: > > Sorry was ...
5 years, 8 months ago (2015-04-14 11:28:22 UTC) #9
Mr4D (OOO till 08-26)
I have just noticed that I didn't send my comments earlier. So I do this ...
5 years, 8 months ago (2015-04-15 19:26:21 UTC) #10
kaliamoorthi
On 2015/04/15 19:26:21, Mr4D wrote: > I have just noticed that I didn't send my ...
5 years, 8 months ago (2015-04-16 08:12:44 UTC) #11
Mr4D (OOO till 08-26)
lgtm
5 years, 8 months ago (2015-04-16 14:12:08 UTC) #13
kaliamoorthi
On 2015/04/16 14:12:08, Mr4D wrote: > lgtm Thanks for the review.
5 years, 8 months ago (2015-04-16 14:13:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051843002/40001
5 years, 8 months ago (2015-04-16 14:14:17 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 8 months ago (2015-04-16 14:17:43 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e4bc3e8aae7ab612458ba94b0c6065dab7ae1da9 Cr-Commit-Position: refs/heads/master@{#325440}
5 years, 8 months ago (2015-04-16 14:18:37 UTC) #18
kaliamoorthi
5 years, 7 months ago (2015-05-04 14:32:05 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/1113333005/ by kaliamoorthi@chromium.org.

The reason for reverting is: This CL breaks guest mode in Windows 8 metro mode
crbug.com/480400. Reverting it to find a suitable fix that solves both 450192
and 480400..

Powered by Google App Engine
This is Rietveld 408576698