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 CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ |
6 #define CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ | 6 #define CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "build/build_config.h" |
| 10 |
| 11 #if defined(OS_WIN) |
| 12 #include <windows.h> |
| 13 #endif |
| 14 |
| 15 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
10 #include "content/common/main_function_params.h" | 17 #include "content/common/main_function_params.h" |
11 | 18 |
12 #ifdef __OBJC__ | 19 #ifdef __OBJC__ |
13 @class NSBundle; | 20 @class NSBundle; |
14 #else | 21 #else |
15 class NSBundle; | 22 class NSBundle; |
16 #endif // __OBJC__ | 23 #endif // __OBJC__ |
17 | 24 |
18 class CONTENT_EXPORT RendererMainPlatformDelegate { | 25 class CONTENT_EXPORT RendererMainPlatformDelegate { |
(...skipping 21 matching lines...) Expand all Loading... |
40 #if defined(OS_WIN) | 47 #if defined(OS_WIN) |
41 HMODULE sandbox_test_module_; | 48 HMODULE sandbox_test_module_; |
42 #elif defined(OS_MACOSX) | 49 #elif defined(OS_MACOSX) |
43 NSBundle* sandbox_tests_bundle_; | 50 NSBundle* sandbox_tests_bundle_; |
44 #endif | 51 #endif |
45 | 52 |
46 DISALLOW_COPY_AND_ASSIGN(RendererMainPlatformDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(RendererMainPlatformDelegate); |
47 }; | 54 }; |
48 | 55 |
49 #endif // CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ | 56 #endif // CHROME_RENDERER_RENDERER_MAIN_PLATFORM_DELEGATE_H_ |
OLD | NEW |