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 #include "ppapi/proxy/raw_var_data.h" | 5 #include "ppapi/proxy/raw_var_data.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/logging.h" | 10 #include "base/logging.h" |
8 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
11 #include "base/values.h" | 14 #include "base/values.h" |
12 #include "ppapi/c/pp_bool.h" | 15 #include "ppapi/c/pp_bool.h" |
13 #include "ppapi/c/pp_var.h" | 16 #include "ppapi/c/pp_var.h" |
14 #include "ppapi/shared_impl/array_var.h" | 17 #include "ppapi/shared_impl/array_var.h" |
15 #include "ppapi/shared_impl/dictionary_var.h" | 18 #include "ppapi/shared_impl/dictionary_var.h" |
16 #include "ppapi/shared_impl/ppapi_globals.h" | 19 #include "ppapi/shared_impl/ppapi_globals.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 ScopedPPVar::PassRef(), | 198 ScopedPPVar::PassRef(), |
196 PpapiGlobals::Get()->GetVarTracker()->MakeResourcePPVar(34)); | 199 PpapiGlobals::Get()->GetVarTracker()->MakeResourcePPVar(34)); |
197 EXPECT_TRUE(WriteReadAndCompare(resource.get())); | 200 EXPECT_TRUE(WriteReadAndCompare(resource.get())); |
198 | 201 |
199 // TODO(mgiuca): Test a host resource with an IPC::Message. It is currently a | 202 // TODO(mgiuca): Test a host resource with an IPC::Message. It is currently a |
200 // checkfail to deserialize such a resource. | 203 // checkfail to deserialize such a resource. |
201 } | 204 } |
202 | 205 |
203 } // namespace proxy | 206 } // namespace proxy |
204 } // namespace ppapi | 207 } // namespace ppapi |
OLD | NEW |