Chromium Code Reviews| Index: content/shell/shell_browser_context.cc |
| =================================================================== |
| --- content/shell/shell_browser_context.cc (revision 147965) |
| +++ content/shell/shell_browser_context.cc (working copy) |
| @@ -75,7 +75,7 @@ |
| } |
| bool ShellBrowserContext::IsOffTheRecord() const { |
| - return false; |
| + return CommandLine::ForCurrentProcess()->HasSwitch(switches::kOffTheRecord); |
| } |
| DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() { |