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

Issue 4309: Adds an --incognito switch that can be used to launch Chrome in Incognito mod... (Closed)

Created:
12 years, 2 months ago by yarin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Adds an --incognito switch that can be used to launch Chrome in Incognito mode. You can combine this with --app= to launch an app in Chrome that has no effect on the user's profile. Note that this is not the same thing as launching chrome.exe --user-data-dir=/dev/null, which would give you an completely empty profile instead of loading the user's profile as read-only. BUG=1790, 2012

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser_init.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
M-A Ruel
http://codereview.chromium.org/4309/diff/1/2 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/4309/diff/1/2#newcode673 Line 673: profile = profile->GetOffTheRecordProfile(); Memory leak?
12 years, 2 months ago (2008-09-26 20:53:38 UTC) #1
yarin
On 2008/09/26 20:53:38, M-A wrote: > http://codereview.chromium.org/4309/diff/1/2 > File chrome/browser/browser_init.cc (right): > > http://codereview.chromium.org/4309/diff/1/2#newcode673 > ...
12 years, 2 months ago (2008-09-26 21:02:30 UTC) #2
Peter Kasting
Please ensure this is OK'd by the UI team before commit. beng and others had ...
12 years, 2 months ago (2008-09-26 21:24:19 UTC) #3
yarin
12 years, 2 months ago (2008-09-26 21:48:35 UTC) #4
Patrick Johnson
http://codereview.chromium.org/4309/diff/7/206 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/4309/diff/7/206#newcode671 Line 671: // Continue with the off-the-record profile from here ...
12 years, 2 months ago (2008-09-26 23:13:54 UTC) #5
Nabil Al-Kourainy
On 2008/09/26 23:13:54, Patrick Johnson wrote: > http://codereview.chromium.org/4309/diff/7/206 > File chrome/browser/browser_init.cc (right): > > http://codereview.chromium.org/4309/diff/7/206#newcode671 ...
12 years, 2 months ago (2008-10-13 18:49:14 UTC) #6
Nabil Al-Kourainy
On 2008/10/13 18:49:14, nabilalk wrote: > On 2008/09/26 23:13:54, Patrick Johnson wrote: > > http://codereview.chromium.org/4309/diff/7/206 ...
12 years, 2 months ago (2008-10-13 18:56:31 UTC) #7
Nabil Al-Kourainy
Great work on the patch. How do I implement it? Thanks.
12 years, 2 months ago (2008-10-13 19:05:14 UTC) #8
Patrick Johnson
On 2008/10/13 19:05:14, Nabil Al-Kourainy wrote: > Great work on the patch. How do I ...
12 years, 2 months ago (2008-10-13 19:08:08 UTC) #9
Nabil Al-Kourainy
On 2008/10/13 19:08:08, Patrick Johnson wrote: > On 2008/10/13 19:05:14, Nabil Al-Kourainy wrote: > > ...
12 years, 2 months ago (2008-10-13 19:23:02 UTC) #10
Patrick Johnson
12 years, 2 months ago (2008-10-13 19:34:19 UTC) #11
On 2008/10/13 19:23:02, Nabil Al-Kourainy wrote:
> On 2008/10/13 19:08:08, Patrick Johnson wrote:
> > On 2008/10/13 19:05:14, Nabil Al-Kourainy wrote:
> > > Great work on the patch.  How do I implement it? Thanks.
> > 
> > I'm not quite sure I understand the question.  If you're running a recent
> trunk
> > build, you can add the --incognito switch to your command, e.g. chrome.exe
> > --incognito.  That will launch in Incognito mode.
> 
> @Patrick Johnson: I'm not sure what command you are referring to.  How do I
add
> the --incognito to the chrome.exe? I have updated to the latest development
> build. Thanks.

I don't think this is available in the latest dev channel release of Google
Chrome, 0.3.154.0.  If you are on a recent trunk build of Chromium, you will
have this option.  It looks like this was committed in Chromium revision 3013. 
Typing about:version will tell you what revision you are currently using.

In order to enable this, you will need to add --incognito to your command.  You
are probably using a shortcut, so right-click on it > Properties > and add
--incognito to the end of the "Target" section.

Powered by Google App Engine
This is Rietveld 408576698