| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <Windows.h> | 8 #include <Windows.h> |
| 9 #endif // defined(OS_WIN) | 9 #endif // defined(OS_WIN) |
| 10 | 10 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 IPC_MESSAGE_CONTROL5(ChromeUtilityMsg_GetOpenFileName, | 197 IPC_MESSAGE_CONTROL5(ChromeUtilityMsg_GetOpenFileName, |
| 198 HWND /* owner */, | 198 HWND /* owner */, |
| 199 DWORD /* flags */, | 199 DWORD /* flags */, |
| 200 GetOpenFileNameFilter /* filter */, | 200 GetOpenFileNameFilter /* filter */, |
| 201 base::FilePath /* initial_directory */, | 201 base::FilePath /* initial_directory */, |
| 202 base::FilePath /* filename */) | 202 base::FilePath /* filename */) |
| 203 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetSaveFileName, | 203 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetSaveFileName, |
| 204 ChromeUtilityMsg_GetSaveFileName_Params /* params */) | 204 ChromeUtilityMsg_GetSaveFileName_Params /* params */) |
| 205 #endif // defined(OS_WIN) | 205 #endif // defined(OS_WIN) |
| 206 | 206 |
| 207 #if defined(OS_ANDROID) | |
| 208 // Instructs the utility process to detect support for seccomp-bpf, | |
| 209 // and the result is reported through | |
| 210 // ChromeUtilityHostMsg_DetectSeccompSupport_Result. | |
| 211 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_DetectSeccompSupport) | |
| 212 #endif | |
| 213 | |
| 214 //------------------------------------------------------------------------------ | 207 //------------------------------------------------------------------------------ |
| 215 // Utility process host messages: | 208 // Utility process host messages: |
| 216 // These are messages from the utility process to the browser. | 209 // These are messages from the utility process to the browser. |
| 217 | 210 |
| 218 // Reply when the utility process has failed while unpacking and parsing a | 211 // Reply when the utility process has failed while unpacking and parsing a |
| 219 // web resource. |error_message| is a user-readable explanation of what | 212 // web resource. |error_message| is a user-readable explanation of what |
| 220 // went wrong. | 213 // went wrong. |
| 221 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackWebResource_Failed, | 214 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackWebResource_Failed, |
| 222 std::string /* error_message, if any */) | 215 std::string /* error_message, if any */) |
| 223 | 216 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 249 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, |
| 257 base::FilePath /* directory */, | 250 base::FilePath /* directory */, |
| 258 std::vector<base::FilePath> /* filenames */) | 251 std::vector<base::FilePath> /* filenames */) |
| 259 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 252 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) |
| 260 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 253 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, |
| 261 base::FilePath /* path */, | 254 base::FilePath /* path */, |
| 262 int /* one_based_filter_index */) | 255 int /* one_based_filter_index */) |
| 263 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 256 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
| 264 base::FilePath /* cache file path */) | 257 base::FilePath /* cache file path */) |
| 265 #endif // defined(OS_WIN) | 258 #endif // defined(OS_WIN) |
| 266 | |
| 267 #if defined(OS_ANDROID) | |
| 268 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level | |
| 269 // of kernel support for seccomp-bpf. | |
| 270 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, | |
| 271 bool /* seccomp prctl supported */) | |
| 272 #endif | |
| OLD | NEW |