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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
282 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, | 282 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, |
283 std::string /* interface_name */, | 283 std::string /* interface_name */, |
284 bool /* result */) | 284 bool /* result */) |
285 | 285 |
286 #if !defined(OS_NACL) | 286 #if !defined(OS_NACL) |
287 // Network state notification from the browser for implementing | 287 // Network state notification from the browser for implementing |
288 // PPP_NetworkState_Dev. | 288 // PPP_NetworkState_Dev. |
289 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 289 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
290 bool /* online */) | 290 bool /* online */) |
291 | 291 |
292 // Request a list of sites that have data stored from the plugin. The plugin | |
yzshen1
2012/07/25 23:56:24
nit: Request -> Requests
Bernhard Bauer
2012/07/26 00:18:53
Done.
| |
293 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used | |
294 // for Flash. | |
295 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, | |
296 uint32 /* request_id */, | |
297 FilePath /* plugin_data_path */) | |
298 IPC_MESSAGE_CONTROL2(PpapiHostMsg_GetSitesWithDataResult, | |
299 uint32 /* request_id */, | |
300 std::vector<std::string> /* sites */) | |
301 | |
292 // Instructs the plugin to clear data for the given site & time. The plugin | 302 // Instructs the plugin to clear data for the given site & time. The plugin |
293 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used | 303 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used |
294 // for Flash. | 304 // for Flash. |
295 IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData, | 305 IPC_MESSAGE_CONTROL5(PpapiMsg_ClearSiteData, |
306 uint32 /* request_id */, | |
296 FilePath /* plugin_data_path */, | 307 FilePath /* plugin_data_path */, |
297 std::string /* site */, | 308 std::string /* site */, |
298 uint64 /* flags */, | 309 uint64 /* flags */, |
299 uint64 /* max_age */) | 310 uint64 /* max_age */) |
300 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | 311 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ClearSiteDataResult, |
312 uint32 /* request_id */, | |
301 bool /* success */) | 313 bool /* success */) |
302 | 314 |
303 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, | 315 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
304 uint32 /* request_id */, | 316 uint32 /* request_id */, |
305 FilePath /* plugin_data_path */) | 317 FilePath /* plugin_data_path */) |
306 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, | 318 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
307 uint32 /* request_id */, | 319 uint32 /* request_id */, |
308 bool /* success */) | 320 bool /* success */) |
309 | 321 |
310 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, | 322 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, |
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1429 | 1441 |
1430 // File chooser. | 1442 // File chooser. |
1431 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1443 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1432 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1444 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1433 bool /* save_as */, | 1445 bool /* save_as */, |
1434 bool /* open_multiple */, | 1446 bool /* open_multiple */, |
1435 std::string /* suggested_file_name */, | 1447 std::string /* suggested_file_name */, |
1436 std::vector<std::string> /* accept_mime_types */) | 1448 std::vector<std::string> /* accept_mime_types */) |
1437 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1449 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1438 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1450 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |