Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: content/common/frame_messages.h

Issue 1541463002: Rename [Web]PageSerializer[Test|Client|Impl] to ...FrameSerializer... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-deduplication-of-resources
Patch Set: Rebasing... Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « content/browser/download/mhtml_generation_manager.cc ('k') | content/renderer/dom_serializer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698