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

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

Issue 2364923004: Add UMA histograms to MHTML save operations. (Closed)
Patch Set: Address code review comments. Created 4 years, 2 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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 // non-savable content (i.e. from a non-savable scheme) or if there were 1489 // non-savable content (i.e. from a non-savable scheme) or if there were
1490 // errors gathering the links. 1490 // errors gathering the links.
1491 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) 1491 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError)
1492 1492
1493 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. 1493 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks.
1494 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, 1494 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse,
1495 std::string /* data buffer */, 1495 std::string /* data buffer */,
1496 bool /* end of data? */) 1496 bool /* end of data? */)
1497 1497
1498 // Response to FrameMsg_SerializeAsMHTML. 1498 // Response to FrameMsg_SerializeAsMHTML.
1499 IPC_MESSAGE_ROUTED3( 1499 IPC_MESSAGE_ROUTED4(
1500 FrameHostMsg_SerializeAsMHTMLResponse, 1500 FrameHostMsg_SerializeAsMHTMLResponse,
1501 int /* job_id (used to match responses to requests) */, 1501 int /* job_id (used to match responses to requests) */,
1502 bool /* true if success, false if error */, 1502 bool /* true if success, false if error */,
1503 std::set<std::string> /* digests of uris of serialized resources */) 1503 std::set<std::string> /* digests of uris of serialized resources */,
1504 base::TimeDelta /* how much time of the main render thread was used */)
1504 1505
1505 // Sent when the renderer updates hint for importance of a tab. 1506 // Sent when the renderer updates hint for importance of a tab.
1506 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, 1507 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals,
1507 content::PageImportanceSignals) 1508 content::PageImportanceSignals)
1508 1509
1509 // This message is sent from a RenderFrameProxy when sequential focus 1510 // This message is sent from a RenderFrameProxy when sequential focus
1510 // navigation needs to advance into its actual frame. |source_routing_id| 1511 // navigation needs to advance into its actual frame. |source_routing_id|
1511 // identifies the frame that issued this request. This is used when pressing 1512 // identifies the frame that issued this request. This is used when pressing
1512 // <tab> or <shift-tab> hits an out-of-process iframe when searching for the 1513 // <tab> or <shift-tab> hits an out-of-process iframe when searching for the
1513 // next focusable element. 1514 // next focusable element.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 // nearest find result in the sending frame. 1570 // nearest find result in the sending frame.
1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1571 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1571 int /* nfr_request_id */, 1572 int /* nfr_request_id */,
1572 float /* distance */) 1573 float /* distance */)
1573 #endif 1574 #endif
1574 1575
1575 // Adding a new message? Stick to the sort order above: first platform 1576 // Adding a new message? Stick to the sort order above: first platform
1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1577 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1577 // platform independent FrameHostMsg, then ifdefs for platform specific 1578 // platform independent FrameHostMsg, then ifdefs for platform specific
1578 // FrameHostMsg. 1579 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698