| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "webkit/default_plugin/plugin_main.h" | 6 #include "webkit/default_plugin/plugin_main.h" |
| 7 | 7 |
| 8 extern "C" { | 8 extern "C" { |
| 9 NPError WINAPI NP_GetEntryPoints(NPPluginFuncs* funcs) { | 9 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs) { |
| 10 return default_plugin::NP_GetEntryPoints(funcs); | 10 return default_plugin::NP_GetEntryPoints(funcs); |
| 11 } | 11 } |
| 12 | 12 |
| 13 NPError WINAPI NP_Initialize(NPNetscapeFuncs* funcs) { | 13 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs) { |
| 14 return default_plugin::NP_Initialize(funcs); | 14 return default_plugin::NP_Initialize(funcs); |
| 15 } | 15 } |
| 16 | 16 |
| 17 NPError WINAPI NP_Shutdown() { | 17 NPError API_CALL NP_Shutdown() { |
| 18 return default_plugin::NP_Shutdown(); | 18 return default_plugin::NP_Shutdown(); |
| 19 } | 19 } |
| 20 } // extern "C" | 20 } // extern "C" |
| 21 | |
| OLD | NEW |