| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 130 IPC_MESSAGE_CONTROL5(ChromeUtilityMsg_GetOpenFileName, | 130 IPC_MESSAGE_CONTROL5(ChromeUtilityMsg_GetOpenFileName, | 
| 131                      HWND /* owner */, | 131                      HWND /* owner */, | 
| 132                      DWORD /* flags */, | 132                      DWORD /* flags */, | 
| 133                      GetOpenFileNameFilter /* filter */, | 133                      GetOpenFileNameFilter /* filter */, | 
| 134                      base::FilePath /* initial_directory */, | 134                      base::FilePath /* initial_directory */, | 
| 135                      base::FilePath /* filename */) | 135                      base::FilePath /* filename */) | 
| 136 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetSaveFileName, | 136 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetSaveFileName, | 
| 137                      ChromeUtilityMsg_GetSaveFileName_Params /* params */) | 137                      ChromeUtilityMsg_GetSaveFileName_Params /* params */) | 
| 138 #endif  // defined(OS_WIN) | 138 #endif  // defined(OS_WIN) | 
| 139 | 139 | 
|  | 140 #if defined(OS_ANDROID) | 
|  | 141 // Instructs the utility process to detect support for seccomp-bpf, | 
|  | 142 // and the result is reported through | 
|  | 143 // ChromeUtilityHostMsg_DetectSeccompSupport_Result. | 
|  | 144 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_DetectSeccompSupport) | 
|  | 145 #endif | 
|  | 146 | 
| 140 //------------------------------------------------------------------------------ | 147 //------------------------------------------------------------------------------ | 
| 141 // Utility process host messages: | 148 // Utility process host messages: | 
| 142 // These are messages from the utility process to the browser. | 149 // These are messages from the utility process to the browser. | 
| 143 | 150 | 
| 144 // Reply when the utility process successfully parsed a JSON string. | 151 // Reply when the utility process successfully parsed a JSON string. | 
| 145 // | 152 // | 
| 146 // WARNING: The result can be of any Value subclass type, but we can't easily | 153 // WARNING: The result can be of any Value subclass type, but we can't easily | 
| 147 // pass indeterminate value types by const object reference with our IPC macros, | 154 // pass indeterminate value types by const object reference with our IPC macros, | 
| 148 // so we put the result Value into a ListValue. Handlers should examine the | 155 // so we put the result Value into a ListValue. Handlers should examine the | 
| 149 // first (and only) element of the ListValue for the actual result. | 156 // first (and only) element of the ListValue for the actual result. | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 193 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 200 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 
| 194                      base::FilePath /* directory */, | 201                      base::FilePath /* directory */, | 
| 195                      std::vector<base::FilePath> /* filenames */) | 202                      std::vector<base::FilePath> /* filenames */) | 
| 196 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 203 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 
| 197 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 204 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 
| 198                      base::FilePath /* path */, | 205                      base::FilePath /* path */, | 
| 199                      int /* one_based_filter_index  */) | 206                      int /* one_based_filter_index  */) | 
| 200 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 207 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 
| 201                      base::FilePath /* cache file path */) | 208                      base::FilePath /* cache file path */) | 
| 202 #endif  // defined(OS_WIN) | 209 #endif  // defined(OS_WIN) | 
|  | 210 | 
|  | 211 #if defined(OS_ANDROID) | 
|  | 212 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level | 
|  | 213 // of kernel support for seccomp-bpf. | 
|  | 214 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, | 
|  | 215                      bool /* seccomp prctl supported */) | 
|  | 216 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultSyscall, | 
|  | 217                      bool /* seccomp syscall supported */) | 
|  | 218 #endif | 
| OLD | NEW | 
|---|