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/host_dispatcher.h" | 5 #include "ppapi/proxy/host_dispatcher.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| 11 #include "ppapi/c/ppb_var.h" |
9 #include "ppapi/c/private/ppb_proxy_private.h" | 12 #include "ppapi/c/private/ppb_proxy_private.h" |
10 #include "ppapi/c/ppb_var.h" | |
11 #include "ppapi/proxy/host_var_serialization_rules.h" | 13 #include "ppapi/proxy/host_var_serialization_rules.h" |
12 #include "ppapi/proxy/interface_list.h" | 14 #include "ppapi/proxy/interface_list.h" |
13 #include "ppapi/proxy/ppapi_messages.h" | 15 #include "ppapi/proxy/ppapi_messages.h" |
14 #include "ppapi/proxy/resource_creation_proxy.h" | 16 #include "ppapi/proxy/resource_creation_proxy.h" |
15 #include "ppapi/shared_impl/ppapi_globals.h" | 17 #include "ppapi/shared_impl/ppapi_globals.h" |
16 | 18 |
17 namespace ppapi { | 19 namespace ppapi { |
18 namespace proxy { | 20 namespace proxy { |
19 | 21 |
20 namespace { | 22 namespace { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 283 } |
282 } | 284 } |
283 | 285 |
284 ScopedModuleReference::~ScopedModuleReference() { | 286 ScopedModuleReference::~ScopedModuleReference() { |
285 if (dispatcher_) | 287 if (dispatcher_) |
286 dispatcher_->ppb_proxy()->ReleaseModule(dispatcher_->pp_module()); | 288 dispatcher_->ppb_proxy()->ReleaseModule(dispatcher_->pp_module()); |
287 } | 289 } |
288 | 290 |
289 } // namespace proxy | 291 } // namespace proxy |
290 } // namespace ppapi | 292 } // namespace ppapi |
OLD | NEW |