Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2177)

Side by Side Diff: webkit/default_plugin/default_plugin.cc

Issue 1662: Replace "WINAPI" with platform-independent "API_CALL". (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/default_plugin/plugin_main.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | webkit/default_plugin/plugin_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698