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

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

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

Powered by Google App Engine
This is Rietveld 408576698