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 // Requests a list of sites that have data stored from the plugin. The plugin |
| 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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 | 1449 |
1438 // File chooser. | 1450 // File chooser. |
1439 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1451 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1440 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1452 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1441 bool /* save_as */, | 1453 bool /* save_as */, |
1442 bool /* open_multiple */, | 1454 bool /* open_multiple */, |
1443 std::string /* suggested_file_name */, | 1455 std::string /* suggested_file_name */, |
1444 std::vector<std::string> /* accept_mime_types */) | 1456 std::vector<std::string> /* accept_mime_types */) |
1445 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1457 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1446 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1458 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |