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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 */) |
OLD | NEW |