OLD | NEW |
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 Loading... |
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 509 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
502 GURL /* page url */, | 510 GURL /* page url */, |
503 GURL /* inquiry url */, | 511 GURL /* inquiry url */, |
504 search_provider::InstallState /* install */) | 512 search_provider::InstallState /* install */) |
505 | 513 |
506 // Send back histograms as vector of pickled-histogram strings. | 514 // Send back histograms as vector of pickled-histogram strings. |
507 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, | 515 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, |
508 int, /* sequence number of Renderer Histograms. */ | 516 int, /* sequence number of Renderer Histograms. */ |
509 std::vector<std::string>) | 517 std::vector<std::string>) |
510 | 518 |
| 519 // Send back tracked data (ThreadData in tracked_objects) as a pickled string. |
| 520 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData, |
| 521 int, /* sequence number of Renderer tracked data. */ |
| 522 std::string /* pickled Value containing profile data. */) |
| 523 |
| 524 // Check if tracking is enabled in browser process or not. Browser process |
| 525 // responds by sending ChromeViewMsg_SetTrackingStatus message to the process |
| 526 // that sent this message. |
| 527 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled) |
| 528 |
511 #if defined USE_TCMALLOC | 529 #if defined USE_TCMALLOC |
512 // Send back tcmalloc stats output. | 530 // Send back tcmalloc stats output. |
513 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, | 531 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, |
514 std::string /* tcmalloc debug output */) | 532 std::string /* tcmalloc debug output */) |
515 // Send back tcmalloc profile to write to a file. | 533 // Send back tcmalloc profile to write to a file. |
516 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, | 534 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
517 FilePath::StringType /* filepath */, | 535 FilePath::StringType /* filepath */, |
518 std::string /* heap profile */) | 536 std::string /* heap profile */) |
519 #endif | 537 #endif |
520 | 538 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 // previous SetCookie message to be processed. | 650 // previous SetCookie message to be processed. |
633 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 651 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
634 GURL /* url */, | 652 GURL /* url */, |
635 GURL /* first_party_for_cookies */, | 653 GURL /* first_party_for_cookies */, |
636 std::string /* cookies */) | 654 std::string /* cookies */) |
637 | 655 |
638 // Provide the browser process with current renderer framerate. | 656 // Provide the browser process with current renderer framerate. |
639 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 657 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
640 int /* routing id */, | 658 int /* routing id */, |
641 float /* frames per second */) | 659 float /* frames per second */) |
OLD | NEW |