Chromium Code Reviews| Index: chrome/browser/process_singleton_win.cc |
| =================================================================== |
| --- chrome/browser/process_singleton_win.cc (revision 169477) |
| +++ chrome/browser/process_singleton_win.cc (working copy) |
| @@ -22,6 +22,7 @@ |
| #include "base/win/win_util.h" |
| #include "base/win/windows_version.h" |
| #include "base/win/wrapped_window_proc.h" |
| +#include "chrome/browser/browser_process.h" |
| #include "chrome/browser/shell_integration.h" |
| #include "chrome/browser/ui/simple_message_box.h" |
| #include "chrome/common/chrome_constants.h" |
| @@ -370,8 +371,11 @@ |
| return PROCESS_NOTIFIED; // We already spawned the process in this case. |
| if (lock_file_ == INVALID_HANDLE_VALUE && !remote_window_) |
| return LOCK_ERROR; |
| - else if (!remote_window_) |
| + else if (!remote_window_) { |
|
Ben Goodger (Google)
2012/11/27 16:56:41
nit: add braces to entire if..else.
ananta
2012/11/27 19:16:03
Done.
|
| + g_browser_process->PlatformSpecificCommandLineProcessing( |
| + *CommandLine::ForCurrentProcess()); |
| return PROCESS_NONE; |
| + } |
| DWORD process_id = 0; |
| DWORD thread_id = GetWindowThreadProcessId(remote_window_, &process_id); |