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

Issue 6272016: Prevent non-Incognito windows in the Guest session. (Closed)

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

Description

Prevent non-Incognito windows in the Guest session. BUG=chromium-os:10273 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74263

Patch Set 1 #

Patch Set 2 : fixed problem with PersonalDataManager #

Total comments: 2

Patch Set 3 : added browsertest #

Patch Set 4 : easy reading #

Total comments: 8

Patch Set 5 : code review #

Patch Set 6 : code review #

Total comments: 2

Patch Set 7 : use _chromeos file #

Patch Set 8 : merge #

Total comments: 14

Patch Set 9 : code review #

Total comments: 2

Patch Set 10 : fixed win warning + indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -104 lines) Patch
M chrome/browser/chromeos/login/login_utils.h View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 3 chunks +60 lines, -46 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/options_ui.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 3 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 2 chunks +3 lines, -2 lines 0 comments Download
A chrome/browser/ui/browser_navigator_browsertest.h View 1 2 3 4 5 6 7 8 9 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 1 2 3 4 5 6 4 chunks +105 lines, -55 lines 0 comments Download
A chrome/browser/ui/browser_navigator_browsertest_chromeos.cc View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
altimofeev
9 years, 11 months ago (2011-01-24 16:26:50 UTC) #1
Evan Stade
I don't know. Why are you allowed to open settings at all in guest mode? ...
9 years, 11 months ago (2011-01-24 21:59:42 UTC) #2
Glen Murphy
It's a little weird, I agree, but I don't think we should prevent users from ...
9 years, 11 months ago (2011-01-24 22:12:03 UTC) #3
Evan Stade
certain parts of the UI would be unintuitive. The fact that the startup pages still ...
9 years, 11 months ago (2011-01-24 22:49:07 UTC) #4
altimofeev
On 2011/01/24 22:49:07, Evan Stade wrote: > certain parts of the UI would be unintuitive. ...
9 years, 11 months ago (2011-01-25 12:10:41 UTC) #5
altimofeev
@kan: I need your opinion on the question. Should we bring settings page back to ...
9 years, 11 months ago (2011-01-25 12:15:43 UTC) #6
Ben Goodger (Google)
I need to think through the implications of this. I am at an event all ...
9 years, 11 months ago (2011-01-25 20:04:51 UTC) #7
altimofeev
Ping? On 2011/01/25 20:04:51, Ben Goodger wrote: > I need to think through the implications ...
9 years, 11 months ago (2011-01-28 08:51:37 UTC) #8
Ben Goodger (Google)
http://codereview.chromium.org/6272016/diff/6001/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/6272016/diff/6001/chrome/browser/ui/browser_navigator.cc#newcode118 chrome/browser/ui/browser_navigator.cc:118: if (profile->IsOffTheRecord() && !Profile::IsGuestSession()) { Can you add a ...
9 years, 11 months ago (2011-01-28 19:12:08 UTC) #9
altimofeev
http://codereview.chromium.org/6272016/diff/6001/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/6272016/diff/6001/chrome/browser/ui/browser_navigator.cc#newcode118 chrome/browser/ui/browser_navigator.cc:118: if (profile->IsOffTheRecord() && !Profile::IsGuestSession()) { On 2011/01/28 19:12:08, Ben ...
9 years, 10 months ago (2011-01-31 16:26:39 UTC) #10
Evan Stade
thanks for the test http://codereview.chromium.org/6272016/diff/16001/chrome/browser/chromeos/login/login_utils.h File chrome/browser/chromeos/login/login_utils.h (right): http://codereview.chromium.org/6272016/diff/16001/chrome/browser/chromeos/login/login_utils.h#newcode11 chrome/browser/chromeos/login/login_utils.h:11: #include "base/command_line.h" forward declare CommandLine ...
9 years, 10 months ago (2011-01-31 21:06:21 UTC) #11
altimofeev
http://codereview.chromium.org/6272016/diff/16001/chrome/browser/chromeos/login/login_utils.h File chrome/browser/chromeos/login/login_utils.h (right): http://codereview.chromium.org/6272016/diff/16001/chrome/browser/chromeos/login/login_utils.h#newcode11 chrome/browser/chromeos/login/login_utils.h:11: #include "base/command_line.h" On 2011/01/31 21:06:22, Evan Stade wrote: > ...
9 years, 10 months ago (2011-02-01 12:42:14 UTC) #12
Ben Goodger (Google)
http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc File chrome/browser/ui/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode740 chrome/browser/ui/browser_navigator_browsertest.cc:740: #if defined(OS_CHROMEOS) I would rather this live in browser_navigator_browsertest_chromeos.cc
9 years, 10 months ago (2011-02-01 17:59:09 UTC) #13
Ben Goodger (Google)
Or is it browser_navigator_chromeos_browsertest.cc? I am not sure of the preferred style.
9 years, 10 months ago (2011-02-01 17:59:54 UTC) #14
Evan Stade
http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc File chrome/browser/ui/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode740 chrome/browser/ui/browser_navigator_browsertest.cc:740: #if defined(OS_CHROMEOS) On 2011/02/01 17:59:09, Ben Goodger wrote: > ...
9 years, 10 months ago (2011-02-01 21:12:35 UTC) #15
altimofeev
On 2011/02/01 21:12:35, Evan Stade wrote: > http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc > File chrome/browser/ui/browser_navigator_browsertest.cc (right): > > http://codereview.chromium.org/6272016/diff/20001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode740 ...
9 years, 10 months ago (2011-02-02 13:06:34 UTC) #16
altimofeev
Ping? On 2011/02/02 13:06:34, altimofeev wrote: > On 2011/02/01 21:12:35, Evan Stade wrote: > > ...
9 years, 10 months ago (2011-02-04 15:20:33 UTC) #17
Ben Goodger (Google)
I am still not sold on this test living with this file. It is the ...
9 years, 10 months ago (2011-02-04 15:29:03 UTC) #18
altimofeev
Done. Please take a look. On 2011/02/04 15:29:03, Ben Goodger wrote: > I am still ...
9 years, 10 months ago (2011-02-07 14:53:13 UTC) #19
Ben Goodger (Google)
LGTM, thanks.
9 years, 10 months ago (2011-02-07 15:22:56 UTC) #20
altimofeev
@Evan: ping
9 years, 10 months ago (2011-02-07 17:01:27 UTC) #21
Evan Stade
http://codereview.chromium.org/6272016/diff/18002/chrome/browser/ui/browser_navigator_browsertest.h File chrome/browser/ui/browser_navigator_browsertest.h (right): http://codereview.chromium.org/6272016/diff/18002/chrome/browser/ui/browser_navigator_browsertest.h#newcode1 chrome/browser/ui/browser_navigator_browsertest.h:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
9 years, 10 months ago (2011-02-07 19:02:30 UTC) #22
altimofeev
http://codereview.chromium.org/6272016/diff/18002/chrome/browser/ui/browser_navigator_browsertest.h File chrome/browser/ui/browser_navigator_browsertest.h (right): http://codereview.chromium.org/6272016/diff/18002/chrome/browser/ui/browser_navigator_browsertest.h#newcode1 chrome/browser/ui/browser_navigator_browsertest.h:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
9 years, 10 months ago (2011-02-08 14:20:59 UTC) #23
Evan Stade
lgtm http://codereview.chromium.org/6272016/diff/28001/chrome/browser/ui/browser_navigator_browsertest.h File chrome/browser/ui/browser_navigator_browsertest.h (right): http://codereview.chromium.org/6272016/diff/28001/chrome/browser/ui/browser_navigator_browsertest.h#newcode18 chrome/browser/ui/browser_navigator_browsertest.h:18: namespace browser { class NavigateParams; } what I ...
9 years, 10 months ago (2011-02-08 23:11:43 UTC) #24
altimofeev
9 years, 10 months ago (2011-02-09 08:12:40 UTC) #25
http://codereview.chromium.org/6272016/diff/28001/chrome/browser/ui/browser_n...
File chrome/browser/ui/browser_navigator_browsertest.h (right):

http://codereview.chromium.org/6272016/diff/28001/chrome/browser/ui/browser_n...
chrome/browser/ui/browser_navigator_browsertest.h:18: namespace browser { class
NavigateParams; }
On 2011/02/08 23:11:43, Evan Stade wrote:
> what I meant when I said no indent was:
> 
> namespace browser {
> class NavigateParams;
> }

Done.

Powered by Google App Engine
This is Rietveld 408576698