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

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

Issue 2886943003: [Offline Pages] Adding missing image/CSS detection in FrameSerializer. (Closed)
Patch Set: finally fixed. Created 3 years, 6 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 // supported outside of Chrome, so this should not be used if the MHTML is 504 // supported outside of Chrome, so this should not be used if the MHTML is
505 // intended for sharing. 505 // intended for sharing.
506 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) 506 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding)
507 507
508 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy, 508 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy,
509 mhtml_cache_control_policy) 509 mhtml_cache_control_policy)
510 510
511 // Whether to remove popup overlay while serializing. 511 // Whether to remove popup overlay while serializing.
512 IPC_STRUCT_MEMBER(bool, mhtml_popup_overlay_removal) 512 IPC_STRUCT_MEMBER(bool, mhtml_popup_overlay_removal)
513 513
514 // Whether to detect problems while serializing.
515 IPC_STRUCT_MEMBER(bool, mhtml_problem_detection)
516
514 // Frame to content-id map. 517 // Frame to content-id map.
515 // Keys are routing ids of either RenderFrames or RenderFrameProxies. 518 // Keys are routing ids of either RenderFrames or RenderFrameProxies.
516 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. 519 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts.
517 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, 520 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap,
518 frame_routing_id_to_content_id) 521 frame_routing_id_to_content_id)
519 522
520 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that 523 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that
521 // should be skipped. This helps deduplicate mhtml parts across frames. 524 // should be skipped. This helps deduplicate mhtml parts across frames.
522 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent 525 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent
523 // disclosing uris to other renderer processes; the digests should be 526 // disclosing uris to other renderer processes; the digests should be
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 int /* nfr_request_id */, 1681 int /* nfr_request_id */,
1679 float /* distance */) 1682 float /* distance */)
1680 1683
1681 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1684 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1682 #endif 1685 #endif
1683 1686
1684 // Adding a new message? Stick to the sort order above: first platform 1687 // Adding a new message? Stick to the sort order above: first platform
1685 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1688 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1686 // platform independent FrameHostMsg, then ifdefs for platform specific 1689 // platform independent FrameHostMsg, then ifdefs for platform specific
1687 // FrameHostMsg. 1690 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/download/mhtml_generation_manager.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698