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

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

Issue 8413009: Changes to upload tracked_objects data from all renderer (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/chrome_renderer.gypi ('k') | chrome/renderer/chrome_content_renderer_client.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) 250 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins)
251 251
252 // Asks the renderer to send back stats on the WebCore cache broken down by 252 // Asks the renderer to send back stats on the WebCore cache broken down by
253 // resource types. 253 // resource types.
254 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) 254 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats)
255 255
256 // Asks the renderer to send back Histograms. 256 // Asks the renderer to send back Histograms.
257 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, 257 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms,
258 int /* sequence number of Renderer Histograms. */) 258 int /* sequence number of Renderer Histograms. */)
259 259
260 // Asks the renderer to send back tracked data (ThreadData in tracked_objects).
261 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererTrackedData,
262 int /* sequence number of Renderer tracked data. */)
263
264 // Asks the renderer to set the tracking status.
265 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetTrackingStatus,
266 bool /* tracking status */)
267
260 // Tells the renderer to create a FieldTrial, and by using a 100% probability 268 // Tells the renderer to create a FieldTrial, and by using a 100% probability
261 // for the FieldTrial, forces the FieldTrial to have assigned group name. 269 // for the FieldTrial, forces the FieldTrial to have assigned group name.
262 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, 270 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup,
263 std::string /* field trial name */, 271 std::string /* field trial name */,
264 std::string /* group name that was assigned. */) 272 std::string /* group name that was assigned. */)
265 273
266 #if defined(USE_TCMALLOC) 274 #if defined(USE_TCMALLOC)
267 // Asks the renderer to send back tcmalloc stats. 275 // Asks the renderer to send back tcmalloc stats.
268 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) 276 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc)
269 // Asks the renderer to enable/disable Tcmalloc heap profiling. 277 // Asks the renderer to enable/disable Tcmalloc heap profiling.
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, 513 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState,
506 GURL /* page url */, 514 GURL /* page url */,
507 GURL /* inquiry url */, 515 GURL /* inquiry url */,
508 search_provider::InstallState /* install */) 516 search_provider::InstallState /* install */)
509 517
510 // Send back histograms as vector of pickled-histogram strings. 518 // Send back histograms as vector of pickled-histogram strings.
511 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, 519 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms,
512 int, /* sequence number of Renderer Histograms. */ 520 int, /* sequence number of Renderer Histograms. */
513 std::vector<std::string>) 521 std::vector<std::string>)
514 522
523 // Send back tracked data (ThreadData in tracked_objects) as a pickled string.
524 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData,
525 int, /* sequence number of Renderer tracked data. */
526 std::string /* pickled Value containing profile data. */)
527
528 // Check if tracking is enabled in browser process or not. Browser process
529 // responds by sending ChromeViewMsg_SetTrackingStatus message to the process
530 // that sent this message.
531 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled)
532
515 #if defined USE_TCMALLOC 533 #if defined USE_TCMALLOC
516 // Send back tcmalloc stats output. 534 // Send back tcmalloc stats output.
517 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, 535 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc,
518 std::string /* tcmalloc debug output */) 536 std::string /* tcmalloc debug output */)
519 // Send back tcmalloc profile to write to a file. 537 // Send back tcmalloc profile to write to a file.
520 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, 538 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK,
521 FilePath::StringType /* filepath */, 539 FilePath::StringType /* filepath */,
522 std::string /* heap profile */) 540 std::string /* heap profile */)
523 #endif 541 #endif
524 542
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 // previous SetCookie message to be processed. 654 // previous SetCookie message to be processed.
637 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 655 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
638 GURL /* url */, 656 GURL /* url */,
639 GURL /* first_party_for_cookies */, 657 GURL /* first_party_for_cookies */,
640 std::string /* cookies */) 658 std::string /* cookies */)
641 659
642 // Provide the browser process with current renderer framerate. 660 // Provide the browser process with current renderer framerate.
643 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 661 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
644 int /* routing id */, 662 int /* routing id */,
645 float /* frames per second */) 663 float /* frames per second */)
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698