| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CONTENT_APP_CONTENT_MAIN_H_ | 5 #ifndef CONTENT_APP_CONTENT_MAIN_H_ |
| 6 #define CONTENT_APP_CONTENT_MAIN_H_ | 6 #define CONTENT_APP_CONTENT_MAIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // in NULL for |delegate| if they don't want to override default startup. | 26 // in NULL for |delegate| if they don't want to override default startup. |
| 27 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
| 28 | 28 |
| 29 // |sandbox_info| should be initialized using InitializeSandboxInfo from | 29 // |sandbox_info| should be initialized using InitializeSandboxInfo from |
| 30 // content_main_win.h | 30 // content_main_win.h |
| 31 int ContentMain(HINSTANCE instance, | 31 int ContentMain(HINSTANCE instance, |
| 32 sandbox::SandboxInterfaceInfo* sandbox_info, | 32 sandbox::SandboxInterfaceInfo* sandbox_info, |
| 33 ContentMainDelegate* delegate); | 33 ContentMainDelegate* delegate); |
| 34 #else | 34 #else |
| 35 int ContentMain(int argc, | 35 int ContentMain(int argc, |
| 36 char** argv, | 36 const char** argv, |
| 37 ContentMainDelegate* delegate); | 37 ContentMainDelegate* delegate); |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 } // namespace content | 40 } // namespace content |
| 41 | 41 |
| 42 #endif // CONTENT_APP_CONTENT_MAIN_H_ | 42 #endif // CONTENT_APP_CONTENT_MAIN_H_ |
| OLD | NEW |