OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // IPC messages for interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 464 |
465 // Destination file handle. | 465 // Destination file handle. |
466 IPC_STRUCT_MEMBER(IPC::PlatformFileForTransit, destination_file) | 466 IPC_STRUCT_MEMBER(IPC::PlatformFileForTransit, destination_file) |
467 | 467 |
468 // MHTML boundary marker / MIME multipart boundary maker. The same | 468 // MHTML boundary marker / MIME multipart boundary maker. The same |
469 // |mhtml_boundary_marker| should be used for serialization of each frame. | 469 // |mhtml_boundary_marker| should be used for serialization of each frame. |
470 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) | 470 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) |
471 | 471 |
472 // Frame to content-id map. | 472 // Frame to content-id map. |
473 // Keys are routing ids of either RenderFrames or RenderFrameProxies. | 473 // Keys are routing ids of either RenderFrames or RenderFrameProxies. |
474 // Values are MHTML content-ids - see WebPageSerializer::generateMHTMLParts. | 474 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. |
475 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, | 475 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, |
476 frame_routing_id_to_content_id) | 476 frame_routing_id_to_content_id) |
477 | 477 |
478 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that | 478 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that |
479 // should be skipped. This helps deduplicate mhtml parts across frames. | 479 // should be skipped. This helps deduplicate mhtml parts across frames. |
480 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent | 480 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent |
481 // disclosing uris to other renderer processes; the digests should be | 481 // disclosing uris to other renderer processes; the digests should be |
482 // generated using SHA256HashString function from crypto/sha2.h and hashing | 482 // generated using SHA256HashString function from crypto/sha2.h and hashing |
483 // |salt + url.spec()|. | 483 // |salt + url.spec()|. |
484 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) | 484 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1364 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1365 FrameHostMsg_ShowPopup_Params) | 1365 FrameHostMsg_ShowPopup_Params) |
1366 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1366 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1367 | 1367 |
1368 #endif | 1368 #endif |
1369 | 1369 |
1370 // Adding a new message? Stick to the sort order above: first platform | 1370 // Adding a new message? Stick to the sort order above: first platform |
1371 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1371 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1372 // platform independent FrameHostMsg, then ifdefs for platform specific | 1372 // platform independent FrameHostMsg, then ifdefs for platform specific |
1373 // FrameHostMsg. | 1373 // FrameHostMsg. |
OLD | NEW |