| 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 // Common IPC messages used for child processes. | 5 // Common IPC messages used for child processes. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // Sent if the trace buffer becomes full. | 45 // Sent if the trace buffer becomes full. |
| 46 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) | 46 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) |
| 47 | 47 |
| 48 // Child processes send trace data back in JSON chunks. | 48 // Child processes send trace data back in JSON chunks. |
| 49 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, | 49 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, |
| 50 std::string /*json trace data*/) | 50 std::string /*json trace data*/) |
| 51 | 51 |
| 52 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. | 52 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. |
| 53 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, | 53 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, |
| 54 float /*trace buffer percent full*/) | 54 float /*trace buffer percent full*/) |
| 55 | |
| 56 // NaCl's 64 bit Windows build only links with a bare-minimum number of | |
| 57 // libraries, and GURL isn't one of them. | |
| 58 #if !defined(NACL_WIN64) | |
| 59 // Get the list of proxies to use for |url|, as a semicolon delimited list | |
| 60 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | |
| 61 IPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy, | |
| 62 GURL /* url */, | |
| 63 int /* network error */, | |
| 64 std::string /* proxy list */) | |
| 65 #endif | |
| OLD | NEW |