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

Issue 6484033: Fix a bug that caused Chrome OS system preferences not to work in the guest mode. (Closed)

Created:
9 years, 10 months ago by satorux1
Modified:
9 years, 7 months ago
Reviewers:
altimofeev
CC:
chromium-reviews, davemoore+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix a bug that caused Chrome OS system preferences not to work in the guest mode. Before this change, we were initializing Chrome OS system preferences in ProfileImpl's constructor, but this didn't work in the guest mode, since we'll switch the profile implementation (GuestSessionProfile) afterward in the guest mode. BUG=chromium-os:11912 TEST=confirm that "Enable tap-to-click" works both in the guest and the normal mode. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75067

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : introduce Destroy() #

Patch Set 4 : update comments #

Patch Set 5 : rework again! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M chrome/browser/profiles/profile.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/testing_profile.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
satorux1
9 years, 10 months ago (2011-02-14 11:28:33 UTC) #1
altimofeev
LGTM, but do not forget to run try bots
9 years, 10 months ago (2011-02-14 12:33:48 UTC) #2
satorux1
Ran try bots and found several tests failed. I'm going to rework this patch...
9 years, 10 months ago (2011-02-15 06:35:44 UTC) #3
satorux1
Reworked the patch. Try bots should be happy about this version. :) Please take another ...
9 years, 10 months ago (2011-02-15 10:29:23 UTC) #4
satorux1
I have a second thought. Since Chrome OS Preferences are associated with a user, making ...
9 years, 10 months ago (2011-02-15 12:26:57 UTC) #5
altimofeev
I like the idea of leaving Preferences as part of the Profile. Furthermore, since there ...
9 years, 10 months ago (2011-02-15 12:39:00 UTC) #6
satorux1
Reworked the patch again. Turned out it's simpler than my previous attempts. :) Please take ...
9 years, 10 months ago (2011-02-15 13:15:26 UTC) #7
altimofeev
9 years, 10 months ago (2011-02-15 13:55:14 UTC) #8
LGTM

On 2011/02/15 13:15:26, satorux1 wrote:
> Reworked the patch again. Turned out it's simpler than my previous attempts.
:)
> Please take another look.

Powered by Google App Engine
This is Rietveld 408576698