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

Side by Side Diff: src/trusted/plugin/npapi/browser_impl_npapi.h

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved. 2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 7
8 // NPAPI implementation of the interface to call browser functionality. 8 // NPAPI implementation of the interface to call browser functionality.
9 9
10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_ 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_
11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_ 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_
12 12
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <map> 14 #include <map>
15 15
16 #include "native_client/src/include/nacl_macros.h" 16 #include "native_client/src/include/nacl_macros.h"
17 #include "native_client/src/include/nacl_string.h" 17 #include "native_client/src/include/nacl_string.h"
18 #include "native_client/src/include/portability.h" 18 #include "native_client/src/include/portability.h"
19 #include "native_client/src/shared/npruntime/nacl_npapi.h" 19 #include "native_client/src/shared/npruntime/nacl_npapi.h"
20 #include "native_client/src/trusted/plugin/api_defines.h" 20 #include "native_client/src/trusted/plugin/api_defines.h"
21 #include "native_client/src/trusted/plugin/srpc/browser_interface.h" 21 #include "native_client/src/trusted/plugin/browser_interface.h"
22 22
23 namespace nacl { 23 namespace nacl {
24 24
25 class NPModule; 25 class NPModule;
26 26
27 } // namespace 27 } // namespace
28 28
29 namespace plugin { 29 namespace plugin {
30 30
31 class BrowserImplNpapi : public BrowserInterface { 31 class BrowserImplNpapi : public BrowserInterface {
(...skipping 26 matching lines...) Expand all
58 }; 58 };
59 59
60 // Convert from the API-independent instance identifier to the NPAPI NPP. 60 // Convert from the API-independent instance identifier to the NPAPI NPP.
61 NPP InstanceIdentifierToNPP(InstanceIdentifier id); 61 NPP InstanceIdentifierToNPP(InstanceIdentifier id);
62 // Convert from the NPAPI NPP type to the API-independent instance identifier. 62 // Convert from the NPAPI NPP type to the API-independent instance identifier.
63 InstanceIdentifier NPPToInstanceIdentifier(NPP npp); 63 InstanceIdentifier NPPToInstanceIdentifier(NPP npp);
64 64
65 } // namespace plugin 65 } // namespace plugin
66 66
67 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_ 67 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_BROWSER_IMPL_NPAPI_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/npapi/async_receive.cc ('k') | src/trusted/plugin/npapi/browser_impl_npapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698