OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_APP_CONTENT_MAIN_H_ | 5 #ifndef CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ |
6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ | 6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ |
7 #pragma once | |
8 | 7 |
9 #include "build/build_config.h" | 8 #include "build/build_config.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
13 #include <windows.h> | 12 #include <windows.h> |
14 #endif | 13 #endif |
15 | 14 |
16 namespace sandbox { | 15 namespace sandbox { |
17 struct SandboxInterfaceInfo; | 16 struct SandboxInterfaceInfo; |
(...skipping 23 matching lines...) Expand all Loading... |
41 void SetContentMainDelegate(ContentMainDelegate* delegate); | 40 void SetContentMainDelegate(ContentMainDelegate* delegate); |
42 #else | 41 #else |
43 CONTENT_EXPORT int ContentMain(int argc, | 42 CONTENT_EXPORT int ContentMain(int argc, |
44 const char** argv, | 43 const char** argv, |
45 ContentMainDelegate* delegate); | 44 ContentMainDelegate* delegate); |
46 #endif // defined(OS_WIN) | 45 #endif // defined(OS_WIN) |
47 | 46 |
48 } // namespace content | 47 } // namespace content |
49 | 48 |
50 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ | 49 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_H_ |
OLD | NEW |