| OLD | NEW |
| 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 // PPAPI-based implementation of the interface to call browser functionality. | 7 // PPAPI-based implementation of the interface to call browser functionality. |
| 8 | 8 |
| 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ |
| 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "native_client/src/include/nacl_string.h" | 14 #include "native_client/src/include/nacl_string.h" |
| 15 #include "native_client/src/trusted/plugin/srpc/browser_interface.h" | 15 #include "native_client/src/trusted/plugin/browser_interface.h" |
| 16 #include "ppapi/cpp/instance.h" | 16 #include "ppapi/cpp/instance.h" |
| 17 | 17 |
| 18 namespace pp { | 18 namespace pp { |
| 19 class Instance; | 19 class Instance; |
| 20 } // namespace | 20 } // namespace |
| 21 | 21 |
| 22 namespace plugin { | 22 namespace plugin { |
| 23 | 23 |
| 24 class PortableHandle; | 24 class PortableHandle; |
| 25 class ScriptableHandle; | 25 class ScriptableHandle; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // Convert from the API-independent instance identifier to the PPAPI | 59 // Convert from the API-independent instance identifier to the PPAPI |
| 60 // PP_Instance. | 60 // PP_Instance. |
| 61 pp::Instance* InstanceIdentifierToPPInstance(InstanceIdentifier id); | 61 pp::Instance* InstanceIdentifierToPPInstance(InstanceIdentifier id); |
| 62 // Convert from the PPAPI PP_Instance type to the API-independent instance | 62 // Convert from the PPAPI PP_Instance type to the API-independent instance |
| 63 // identifier. | 63 // identifier. |
| 64 InstanceIdentifier PPInstanceToInstanceIdentifier(pp::Instance* instance); | 64 InstanceIdentifier PPInstanceToInstanceIdentifier(pp::Instance* instance); |
| 65 | 65 |
| 66 } // namespace plugin | 66 } // namespace plugin |
| 67 | 67 |
| 68 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ | 68 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_BROWSER_INTERFACE_PPAPI_H_ |
| OLD | NEW |