Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / ppapi / shared_impl / ppb_var_shared.h
blob88078ba5adcd2ade06b6bae77dddfbc3fa2f171c
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_
8 #include "ppapi/c/pp_module.h"
9 #include "ppapi/c/pp_stdint.h"
10 #include "ppapi/c/ppb_var.h"
11 #include "ppapi/c/ppb_var_array_buffer.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h"
14 struct PP_Var;
16 namespace ppapi {
18 class PPAPI_SHARED_EXPORT PPB_Var_Shared {
19 public:
20 static const PPB_Var_1_1* GetVarInterface1_1();
21 static const PPB_Var_1_0* GetVarInterface1_0();
22 static const PPB_VarArrayBuffer_1_0* GetVarArrayBufferInterface1_0();
25 } // namespace ppapi
27 #endif // PPAPI_SHARED_IMPL_PPB_VAR_SHARED_H_