Issue 2012: Feature: Add a switch for starting chrome in incognito mode
http://code.google.com/p/chromium/issues/detail?id=2012

Comment #21 by nabilalk:
@yarin.kaul: Thanks for the follow-up. Perhaps you could offer a suggestion  
on how to
work the patch into? I clicked download and got:

Index: chrome/browser/browser_init.cc
===================================================================
--- chrome/browser/browser_init.cc      (revision 2596)
+++ chrome/browser/browser_init.cc      (working copy)
@@ -668,6 +668,10 @@
                                  bool process_startup, int* return_code) {
    DCHECK(profile);

+  // Continue with the off-the-record profile from here on if --incognito  
was specified
+  if (parsed_command_line.HasSwitch(switches::kIncognito))
+    profile = profile->GetOffTheRecordProfile();
+
    // Are we starting an application?
    std::wstring app_url =  
parsed_command_line.GetSwitchValue(switches::kApp);
    if (!app_url.empty()) {

I must admit, that I'm a complete noob with the coding.  How do I install  
the patch
or implement it to have the desired result? Thanks!



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to