| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef PPAPI_PROXY_PPP_CLASS_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ | 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 SerializedVarReceiveInput method_name, | 79 SerializedVarReceiveInput method_name, |
| 80 SerializedVarVectorReceiveInput arg_vector, | 80 SerializedVarVectorReceiveInput arg_vector, |
| 81 SerializedVarOutParam exception, | 81 SerializedVarOutParam exception, |
| 82 SerializedVarReturnValue result); | 82 SerializedVarReturnValue result); |
| 83 void OnMsgConstruct(int64 ppp_class, int64 object, | 83 void OnMsgConstruct(int64 ppp_class, int64 object, |
| 84 SerializedVarVectorReceiveInput arg_vector, | 84 SerializedVarVectorReceiveInput arg_vector, |
| 85 SerializedVarOutParam exception, | 85 SerializedVarOutParam exception, |
| 86 SerializedVarReturnValue result); | 86 SerializedVarReturnValue result); |
| 87 void OnMsgDeallocate(int64 ppp_class, int64 object); | 87 void OnMsgDeallocate(int64 ppp_class, int64 object); |
| 88 | 88 |
| 89 // Returns true if the given class/data points to a plugin-implemented |
| 90 // object. On failure, the exception, if non-NULL, will also be set. |
| 91 bool ValidateUserData(int64 ppp_class, int64 class_data, |
| 92 SerializedVarOutParam* exception); |
| 93 |
| 89 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); | 94 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); |
| 90 }; | 95 }; |
| 91 | 96 |
| 92 } // namespace proxy | 97 } // namespace proxy |
| 93 } // namespace ppapi | 98 } // namespace ppapi |
| 94 | 99 |
| 95 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ | 100 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| OLD | NEW |