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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 // PPP_NetworkState_Dev. | 237 // PPP_NetworkState_Dev. |
238 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 238 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
239 bool /* online */) | 239 bool /* online */) |
240 | 240 |
241 // Sent in both directions to see if the other side supports the given | 241 // Sent in both directions to see if the other side supports the given |
242 // interface. | 242 // interface. |
243 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, | 243 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, |
244 std::string /* interface_name */, | 244 std::string /* interface_name */, |
245 bool /* result */) | 245 bool /* result */) |
246 | 246 |
247 // Instructs the plugin to clear data for the given site & time. The plugin | |
248 // process will respond with PpapiHostMsg_ClearSiteDataResult. | |
viettrungluu
2012/04/11 02:48:10
Should you indicate that this is for Flash specifi
| |
249 IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData, | |
250 FilePath /* profile_path */, | |
251 std::string /* site */, | |
252 uint64 /* flags */, | |
253 uint64 /* max_age */) | |
254 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | |
255 bool /* success */) | |
256 | |
247 // Broker Process. | 257 // Broker Process. |
248 | |
249 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 258 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
250 PP_Instance /* instance */, | 259 PP_Instance /* instance */, |
251 IPC::PlatformFileForTransit /* handle */, | 260 IPC::PlatformFileForTransit /* handle */, |
252 int32_t /* result */) | 261 int32_t /* result */) |
253 | 262 |
254 // PPB_Audio. | 263 // PPB_Audio. |
255 | 264 |
256 // Notifies the result of the audio stream create call. This is called in | 265 // Notifies the result of the audio stream create call. This is called in |
257 // both error cases and in the normal success case. These cases are | 266 // both error cases and in the normal success case. These cases are |
258 // differentiated by the result code, which is one of the standard PPAPI | 267 // differentiated by the result code, which is one of the standard PPAPI |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1305 // PPB_X509Certificate_Private | 1314 // PPB_X509Certificate_Private |
1306 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1315 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1307 std::vector<char> /* der */, | 1316 std::vector<char> /* der */, |
1308 bool /* succeeded */, | 1317 bool /* succeeded */, |
1309 ppapi::PPB_X509Certificate_Fields /* result */) | 1318 ppapi::PPB_X509Certificate_Fields /* result */) |
1310 | 1319 |
1311 // PPB_Font. | 1320 // PPB_Font. |
1312 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1321 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1313 std::string /* result */) | 1322 std::string /* result */) |
1314 #endif // !defined(OS_NACL) | 1323 #endif // !defined(OS_NACL) |
OLD | NEW |