OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/values.h" | 5 #include "base/values.h" |
6 #include "content/common/content_export.h" | 6 #include "content/common/content_export.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "ipc/ipc_platform_file.h" |
8 | 9 |
9 #undef IPC_MESSAGE_EXPORT | 10 #undef IPC_MESSAGE_EXPORT |
10 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 11 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
11 #define IPC_MESSAGE_START PeerConnectionTrackerMsgStart | 12 #define IPC_MESSAGE_START PeerConnectionTrackerMsgStart |
12 | 13 |
13 IPC_STRUCT_BEGIN(PeerConnectionInfo) | 14 IPC_STRUCT_BEGIN(PeerConnectionInfo) |
14 IPC_STRUCT_MEMBER(int, lid) | 15 IPC_STRUCT_MEMBER(int, lid) |
15 IPC_STRUCT_MEMBER(std::string, rtc_configuration) | 16 IPC_STRUCT_MEMBER(std::string, rtc_configuration) |
16 IPC_STRUCT_MEMBER(std::string, constraints) | 17 IPC_STRUCT_MEMBER(std::string, constraints) |
17 IPC_STRUCT_MEMBER(std::string, url) | 18 IPC_STRUCT_MEMBER(std::string, url) |
(...skipping 16 matching lines...) Expand all Loading... |
34 bool /*audio*/, | 35 bool /*audio*/, |
35 bool /*video*/, | 36 bool /*video*/, |
36 // The constraints strings are for dispaly only and should | 37 // The constraints strings are for dispaly only and should |
37 // not be parsed by the browser for security reasons. | 38 // not be parsed by the browser for security reasons. |
38 std::string /* audio_constraints */, | 39 std::string /* audio_constraints */, |
39 std::string /* video_constraints */) | 40 std::string /* video_constraints */) |
40 | 41 |
41 // Messages sent to PeerConnectionTracker. | 42 // Messages sent to PeerConnectionTracker. |
42 IPC_MESSAGE_CONTROL0(PeerConnectionTracker_GetAllStats) | 43 IPC_MESSAGE_CONTROL0(PeerConnectionTracker_GetAllStats) |
43 IPC_MESSAGE_CONTROL0(PeerConnectionTracker_OnSuspend) | 44 IPC_MESSAGE_CONTROL0(PeerConnectionTracker_OnSuspend) |
| 45 IPC_MESSAGE_CONTROL2(PeerConnectionTracker_StartEventLog, |
| 46 int /* peer_connection_local_id */, |
| 47 IPC::PlatformFileForTransit /* file */) |
| 48 IPC_MESSAGE_CONTROL1(PeerConnectionTracker_StopEventLog, |
| 49 int /* peer_connection_local_id */) |
OLD | NEW |