OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <GLES2/gl2.h> | 5 #include <GLES2/gl2.h> |
| 6 #include <stddef.h> |
| 7 #include <stdint.h> |
6 | 8 |
7 #include "base/memory/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
8 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "build/build_config.h" |
9 #include "ppapi/c/pp_errors.h" | 12 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/c/ppb_video_decoder.h" | 13 #include "ppapi/c/ppb_video_decoder.h" |
11 #include "ppapi/proxy/locking_resource_releaser.h" | 14 #include "ppapi/proxy/locking_resource_releaser.h" |
12 #include "ppapi/proxy/plugin_message_filter.h" | 15 #include "ppapi/proxy/plugin_message_filter.h" |
13 #include "ppapi/proxy/ppapi_message_utils.h" | 16 #include "ppapi/proxy/ppapi_message_utils.h" |
14 #include "ppapi/proxy/ppapi_messages.h" | 17 #include "ppapi/proxy/ppapi_messages.h" |
15 #include "ppapi/proxy/ppapi_proxy_test.h" | 18 #include "ppapi/proxy/ppapi_proxy_test.h" |
16 #include "ppapi/proxy/ppb_graphics_3d_proxy.h" | 19 #include "ppapi/proxy/ppb_graphics_3d_proxy.h" |
17 #include "ppapi/proxy/video_decoder_constants.h" | 20 #include "ppapi/proxy/video_decoder_constants.h" |
18 #include "ppapi/proxy/video_decoder_resource.h" | 21 #include "ppapi/proxy/video_decoder_resource.h" |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 ASSERT_FALSE(uncalled_cb.called()); | 582 ASSERT_FALSE(uncalled_cb.called()); |
580 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallFlush(decoder.get(), &uncalled_cb)); | 583 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallFlush(decoder.get(), &uncalled_cb)); |
581 ASSERT_FALSE(uncalled_cb.called()); | 584 ASSERT_FALSE(uncalled_cb.called()); |
582 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallReset(decoder.get(), &uncalled_cb)); | 585 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallReset(decoder.get(), &uncalled_cb)); |
583 ASSERT_FALSE(uncalled_cb.called()); | 586 ASSERT_FALSE(uncalled_cb.called()); |
584 } | 587 } |
585 #endif // !defined(OS_WIN) || !defined(ARCH_CPU_64_BITS) | 588 #endif // !defined(OS_WIN) || !defined(ARCH_CPU_64_BITS) |
586 | 589 |
587 } // namespace proxy | 590 } // namespace proxy |
588 } // namespace ppapi | 591 } // namespace ppapi |
OLD | NEW |