Chromium Code Reviews| 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_CONTROL3(PeerConnectionTracker_StartEventLog, | |
| 46 int /* lid */, | |
| 47 IPC::PlatformFileForTransit /* file */, | |
| 48 int64_t /* max_file_size_bytes */) | |
|
dcheng
2016/05/10 06:48:17
Why not unsigned?
Ivo-OOO until feb 6
2016/05/12 13:23:24
This value represents a file size on disk. Althoug
| |
| 49 IPC_MESSAGE_CONTROL1(PeerConnectionTracker_StopEventLog, int /* lid */) | |
| OLD | NEW |