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" | |
6 #include "webkit/default_plugin/plugin_main.h" | 5 #include "webkit/default_plugin/plugin_main.h" |
7 | 6 |
8 extern "C" { | 7 extern "C" { |
9 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs) { | 8 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs) { |
10 return default_plugin::NP_GetEntryPoints(funcs); | 9 return default_plugin::NP_GetEntryPoints(funcs); |
11 } | 10 } |
12 | 11 |
13 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs) { | 12 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs) { |
14 return default_plugin::NP_Initialize(funcs); | 13 return default_plugin::NP_Initialize(funcs); |
15 } | 14 } |
16 | 15 |
17 NPError API_CALL NP_Shutdown() { | 16 NPError API_CALL NP_Shutdown() { |
18 return default_plugin::NP_Shutdown(); | 17 return default_plugin::NP_Shutdown(); |
19 } | 18 } |
20 } // extern "C" | 19 } // extern "C" |
OLD | NEW |