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" | 5 #include <memory> |
bbudge
2016/04/06 21:01:20
Could this be eliminated?
dcheng
2016/04/06 21:18:33
Done.
| |
6 | |
6 #include "ipc/ipc_message_utils.h" | 7 #include "ipc/ipc_message_utils.h" |
7 #include "ppapi/c/ppb_audio.h" | 8 #include "ppapi/c/ppb_audio.h" |
8 #include "ppapi/c/ppp_instance.h" | 9 #include "ppapi/c/ppp_instance.h" |
9 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
10 #include "ppapi/proxy/ppapi_proxy_test.h" | 11 #include "ppapi/proxy/ppapi_proxy_test.h" |
11 | 12 |
12 namespace ppapi { | 13 namespace ppapi { |
13 namespace proxy { | 14 namespace proxy { |
14 | 15 |
15 namespace { | 16 namespace { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
78 ppapi::proxy::SerializedHandle::SOCKET), | 79 ppapi::proxy::SerializedHandle::SOCKET), |
79 ppapi::proxy::SerializedHandle( | 80 ppapi::proxy::SerializedHandle( |
80 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); | 81 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); |
81 plugin_dispatcher()->OnMessageReceived(audio_msg); | 82 plugin_dispatcher()->OnMessageReceived(audio_msg); |
82 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); | 83 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); |
83 } | 84 } |
84 | 85 |
85 } // namespace proxy | 86 } // namespace proxy |
86 } // namespace ppapi | 87 } // namespace ppapi |
87 | 88 |
OLD | NEW |