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

Side by Side Diff: chrome/default_plugin/plugin_main.h

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
« no previous file with comments | « chrome/default_plugin/plugin_impl_win.h ('k') | chrome/gpu/gpu_info_collector.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <algorithm> 5 #include <algorithm>
6 #include <string>
7 6
8 #include "third_party/npapi/bindings/npapi.h" 7 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/nphostapi.h" 8 #include "third_party/npapi/bindings/nphostapi.h"
10 9
11 namespace default_plugin { 10 namespace default_plugin {
12 11
13 extern NPNetscapeFuncs* g_browser; 12 extern NPNetscapeFuncs* g_browser;
14 13
15 // Standard NPAPI functions. 14 // Standard NPAPI functions.
16 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, 15 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode,
(...skipping 15 matching lines...) Expand all
32 31
33 #if defined(OS_POSIX) && !defined(OS_MACOSX) 32 #if defined(OS_POSIX) && !defined(OS_MACOSX)
34 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs, NPPluginFuncs* p_funcs); 33 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs, NPPluginFuncs* p_funcs);
35 #else 34 #else
36 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); 35 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs);
37 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs); 36 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs);
38 #endif 37 #endif
39 NPError API_CALL NP_Shutdown(void); 38 NPError API_CALL NP_Shutdown(void);
40 39
41 } // default_plugin 40 } // default_plugin
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_impl_win.h ('k') | chrome/gpu/gpu_info_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698