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