OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <windows.h> | 5 #include <windows.h> |
6 #include <tchar.h> | 6 #include <tchar.h> |
7 | 7 |
8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/win/windows_version.h" | 10 #include "base/win/windows_version.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 sandbox::SetCurrentProcessDEP(sandbox::DEP_ENABLED); | 42 sandbox::SetCurrentProcessDEP(sandbox::DEP_ENABLED); |
43 } | 43 } |
44 // Load and launch the chrome dll. *Everything* happens inside. | 44 // Load and launch the chrome dll. *Everything* happens inside. |
45 MainDllLoader* loader = MakeMainDllLoader(); | 45 MainDllLoader* loader = MakeMainDllLoader(); |
46 int rc = loader->Launch(instance, &sandbox_info); | 46 int rc = loader->Launch(instance, &sandbox_info); |
47 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded(); | 47 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded(); |
48 delete loader; | 48 delete loader; |
49 | 49 |
50 return rc; | 50 return rc; |
51 } | 51 } |
OLD | NEW |