| 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_SERIALIZED_VAR_H_ | 5 #ifndef PPAPI_PROXY_SERIALIZED_VAR_H_ |
| 6 #define PPAPI_PROXY_SERIALIZED_VAR_H_ | 6 #define PPAPI_PROXY_SERIALIZED_VAR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <string> | 11 #include <string> |
| 9 #include <vector> | 12 #include <vector> |
| 10 | 13 |
| 11 #include "base/basictypes.h" | 14 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 14 #include "ppapi/c/pp_instance.h" | 17 #include "ppapi/c/pp_instance.h" |
| 15 #include "ppapi/c/pp_var.h" | 18 #include "ppapi/c/pp_var.h" |
| 16 #include "ppapi/proxy/ppapi_proxy_export.h" | 19 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 17 #include "ppapi/proxy/raw_var_data.h" | 20 #include "ppapi/proxy/raw_var_data.h" |
| 18 #include "ppapi/proxy/serialized_handle.h" | 21 #include "ppapi/proxy/serialized_handle.h" |
| 19 #include "ppapi/proxy/serialized_structs.h" | 22 #include "ppapi/proxy/serialized_structs.h" |
| 20 #include "ppapi/proxy/var_serialization_rules.h" | 23 #include "ppapi/proxy/var_serialization_rules.h" |
| 21 | 24 |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 public: | 497 public: |
| 495 explicit SerializedVarTestReader(const SerializedVar& var); | 498 explicit SerializedVarTestReader(const SerializedVar& var); |
| 496 | 499 |
| 497 PP_Var GetVar() const { return inner_->GetVar(); } | 500 PP_Var GetVar() const { return inner_->GetVar(); } |
| 498 }; | 501 }; |
| 499 | 502 |
| 500 } // namespace proxy | 503 } // namespace proxy |
| 501 } // namespace ppapi | 504 } // namespace ppapi |
| 502 | 505 |
| 503 #endif // PPAPI_PROXY_SERIALIZED_VAR_H_ | 506 #endif // PPAPI_PROXY_SERIALIZED_VAR_H_ |
| OLD | NEW |