Chromium Code Reviews| Index: ppapi/proxy/interface_proxy.h |
| =================================================================== |
| --- ppapi/proxy/interface_proxy.h (revision 65343) |
| +++ ppapi/proxy/interface_proxy.h (working copy) |
| @@ -70,6 +70,14 @@ |
| const void* target_interface_; |
| }; |
| +inline PP_Bool BoolToPPBool(bool value) { |
| + return value ? PP_TRUE : PP_FALSE; |
| +} |
| + |
| +inline bool PPBoolToBool(PP_Bool value) { |
| + return (PP_TRUE == value); |
| +} |
|
dmichael(do not use this one)
2010/11/08 15:31:19
Is there a reason you can't or shouldn't use ppapi
brettw
2010/11/08 15:51:02
The proxy layer is actually totally separate from
dmichael(do not use this one)
2010/11/08 16:11:51
That makes sense. That being the case, I'm not su
|
| + |
| } // namespace proxy |
| } // namespace pp |