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 <cstring> | 5 #include <cstring> |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "ppapi/c/dev/ppb_memory_dev.h" | 8 #include "ppapi/c/dev/ppb_memory_dev.h" |
9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/c/ppb_image_data.h" | 10 #include "ppapi/c/ppb_image_data.h" |
11 #include "ppapi/proxy/pdf_resource.h" | 11 #include "ppapi/proxy/pdf_resource.h" |
12 #include "ppapi/proxy/ppapi_messages.h" | 12 #include "ppapi/proxy/ppapi_messages.h" |
13 #include "ppapi/proxy/ppapi_proxy_test.h" | 13 #include "ppapi/proxy/ppapi_proxy_test.h" |
14 #include "ppapi/proxy/ppb_image_data_proxy.h" | 14 #include "ppapi/proxy/ppb_image_data_proxy.h" |
15 #include "ppapi/proxy/serialized_handle.h" | 15 #include "ppapi/proxy/serialized_handle.h" |
16 #include "ppapi/shared_impl/proxy_lock.h" | 16 #include "ppapi/shared_impl/proxy_lock.h" |
17 #include "ppapi/shared_impl/scoped_pp_var.h" | 17 #include "ppapi/shared_impl/scoped_pp_var.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 resource_tracker->ReleaseResource(resource); | 199 resource_tracker->ReleaseResource(resource); |
200 } | 200 } |
201 | 201 |
202 // Remove the filter or it will be destroyed before the sink() is destroyed. | 202 // Remove the filter or it will be destroyed before the sink() is destroyed. |
203 sink().RemoveFilter(&handler); | 203 sink().RemoveFilter(&handler); |
204 } | 204 } |
205 | 205 |
206 } // namespace proxy | 206 } // namespace proxy |
207 } // namespace ppapi | 207 } // namespace ppapi |
OLD | NEW |