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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 42496: histogram synchronizer code between renderer and browser for UMA and about_histogram (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/histogram_synchronizer.cc ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // onunload event handler. Expects a ClosePage_ACK message when finished. 448 // onunload event handler. Expects a ClosePage_ACK message when finished.
449 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage, 449 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage,
450 int /* new_render_process_host_id */, 450 int /* new_render_process_host_id */,
451 int /* new_request_id */) 451 int /* new_request_id */)
452 452
453 // Asks the renderer to send back stats on the WebCore cache broken down by 453 // Asks the renderer to send back stats on the WebCore cache broken down by
454 // resource types. 454 // resource types.
455 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats) 455 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats)
456 456
457 // Asks the renderer to send back Histograms. 457 // Asks the renderer to send back Histograms.
458 IPC_MESSAGE_CONTROL0(ViewMsg_GetRendererHistograms) 458 IPC_MESSAGE_CONTROL1(ViewMsg_GetRendererHistograms,
459 int /* sequence number of Renderer Histograms. */)
459 460
460 // Notifies the renderer about ui theme changes 461 // Notifies the renderer about ui theme changes
461 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) 462 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged)
462 463
463 // Notifies the renderer that a paint is to be generated for the rectangle 464 // Notifies the renderer that a paint is to be generated for the rectangle
464 // passed in. 465 // passed in.
465 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, 466 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint,
466 gfx::Size /* The view size to be repainted */) 467 gfx::Size /* The view size to be repainted */)
467 468
468 // Posts a message to the renderer. 469 // Posts a message to the renderer.
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 1074
1074 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, 1075 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg,
1075 int, /* tools msg type */ 1076 int, /* tools msg type */
1076 std::wstring /* body */) 1077 std::wstring /* body */)
1077 1078
1078 // Send back a string to be recorded by UserMetrics. 1079 // Send back a string to be recorded by UserMetrics.
1079 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, 1080 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction,
1080 std::wstring /* action */) 1081 std::wstring /* action */)
1081 1082
1082 // Send back histograms as vector of pickled-histogram strings. 1083 // Send back histograms as vector of pickled-histogram strings.
1083 IPC_MESSAGE_CONTROL1(ViewHostMsg_RendererHistograms, std::vector<std::string>) 1084 IPC_MESSAGE_CONTROL2(ViewHostMsg_RendererHistograms,
1085 int, /* sequence number of Renderer Histograms. */
1086 std::vector<std::string>)
1084 1087
1085 // Request for a DNS prefetch of the names in the array. 1088 // Request for a DNS prefetch of the names in the array.
1086 // NameList is typedef'ed std::vector<std::string> 1089 // NameList is typedef'ed std::vector<std::string>
1087 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, 1090 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch,
1088 std::vector<std::string> /* hostnames */) 1091 std::vector<std::string> /* hostnames */)
1089 1092
1090 // Notifies when default plugin updates status of the missing plugin. 1093 // Notifies when default plugin updates status of the missing plugin.
1091 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, 1094 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus,
1092 int /* status */) 1095 int /* status */)
1093 1096
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 // by ViewHostMsg_OpenChannelToExtension. 1349 // by ViewHostMsg_OpenChannelToExtension.
1347 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, 1350 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage,
1348 int /* port_id */, 1351 int /* port_id */,
1349 std::string /* message */) 1352 std::string /* message */)
1350 1353
1351 // Message to show a popup menu using native cocoa controls (Mac only). 1354 // Message to show a popup menu using native cocoa controls (Mac only).
1352 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, 1355 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1353 ViewHostMsg_ShowPopup_Params) 1356 ViewHostMsg_ShowPopup_Params)
1354 1357
1355 IPC_END_MESSAGES(ViewHost) 1358 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/histogram_synchronizer.cc ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698