| 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 <stdint.h> |
| 6 |
| 5 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 7 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
| 6 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
| 7 #include "ppapi/c/private/ppb_flash.h" | 9 #include "ppapi/c/private/ppb_flash.h" |
| 8 #include "ppapi/proxy/locking_resource_releaser.h" | 10 #include "ppapi/proxy/locking_resource_releaser.h" |
| 9 #include "ppapi/proxy/ppapi_messages.h" | 11 #include "ppapi/proxy/ppapi_messages.h" |
| 10 #include "ppapi/proxy/ppapi_proxy_test.h" | 12 #include "ppapi/proxy/ppapi_proxy_test.h" |
| 11 #include "ppapi/thunk/thunk.h" | 13 #include "ppapi/thunk/thunk.h" |
| 12 | 14 |
| 13 namespace ppapi { | 15 namespace ppapi { |
| 14 namespace proxy { | 16 namespace proxy { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Should have sent an "DeviceEnumeration_EnumerateDevices" message. | 64 // Should have sent an "DeviceEnumeration_EnumerateDevices" message. |
| 63 ASSERT_TRUE(enumerate_video_devices_handler.last_handled_msg().type() == | 65 ASSERT_TRUE(enumerate_video_devices_handler.last_handled_msg().type() == |
| 64 PpapiHostMsg_DeviceEnumeration_EnumerateDevices::ID); | 66 PpapiHostMsg_DeviceEnumeration_EnumerateDevices::ID); |
| 65 | 67 |
| 66 // Remove the filter or it will be destroyed before the sink() is destroyed. | 68 // Remove the filter or it will be destroyed before the sink() is destroyed. |
| 67 sink().RemoveFilter(&enumerate_video_devices_handler); | 69 sink().RemoveFilter(&enumerate_video_devices_handler); |
| 68 } | 70 } |
| 69 | 71 |
| 70 } // namespace proxy | 72 } // namespace proxy |
| 71 } // namespace ppapi | 73 } // namespace ppapi |
| OLD | NEW |