OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/memory/scoped_ptr.h" | |
6 #include "ipc/ipc_message_utils.h" | 5 #include "ipc/ipc_message_utils.h" |
7 #include "ppapi/c/ppb_audio.h" | 6 #include "ppapi/c/ppb_audio.h" |
8 #include "ppapi/c/ppp_instance.h" | 7 #include "ppapi/c/ppp_instance.h" |
9 #include "ppapi/proxy/ppapi_messages.h" | 8 #include "ppapi/proxy/ppapi_messages.h" |
10 #include "ppapi/proxy/ppapi_proxy_test.h" | 9 #include "ppapi/proxy/ppapi_proxy_test.h" |
11 | 10 |
12 namespace ppapi { | 11 namespace ppapi { |
13 namespace proxy { | 12 namespace proxy { |
14 | 13 |
15 namespace { | 14 namespace { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 ppapi::proxy::SerializedHandle::SOCKET), | 77 ppapi::proxy::SerializedHandle::SOCKET), |
79 ppapi::proxy::SerializedHandle( | 78 ppapi::proxy::SerializedHandle( |
80 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); | 79 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); |
81 plugin_dispatcher()->OnMessageReceived(audio_msg); | 80 plugin_dispatcher()->OnMessageReceived(audio_msg); |
82 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); | 81 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); |
83 } | 82 } |
84 | 83 |
85 } // namespace proxy | 84 } // namespace proxy |
86 } // namespace ppapi | 85 } // namespace ppapi |
87 | 86 |
OLD | NEW |