| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 6 |
| 7 #include "chrome_frame/chrome_launcher.h" | 7 #include "chrome_frame/chrome_launcher.h" |
| 8 | 8 |
| 9 // We want to keep this EXE tiny, so we avoid all dependencies and link to no | 9 // We want to keep this EXE tiny, so we avoid all dependencies and link to no |
| 10 // libraries, and we do not use the C runtime. | 10 // libraries, and we do not use the C runtime. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 if (proc) { | 70 if (proc) { |
| 71 exit_code = proc(); | 71 exit_code = proc(); |
| 72 } else { | 72 } else { |
| 73 exit_code = ERROR_INVALID_FUNCTION; | 73 exit_code = ERROR_INVALID_FUNCTION; |
| 74 } | 74 } |
| 75 | 75 |
| 76 ::FreeLibrary(chrome_tab); | 76 ::FreeLibrary(chrome_tab); |
| 77 } | 77 } |
| 78 ::ExitProcess(exit_code); | 78 ::ExitProcess(exit_code); |
| 79 } | 79 } |
| OLD | NEW |