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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) | 231 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) |
232 | 232 |
233 // Asks the renderer to send back stats on the WebCore cache broken down by | 233 // Asks the renderer to send back stats on the WebCore cache broken down by |
234 // resource types. | 234 // resource types. |
235 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) | 235 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) |
236 | 236 |
237 // Asks the renderer to send back Histograms. | 237 // Asks the renderer to send back Histograms. |
238 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, | 238 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, |
239 int /* sequence number of Renderer Histograms. */) | 239 int /* sequence number of Renderer Histograms. */) |
240 | 240 |
241 // Asks the renderer to send back tracked data (ThreadData in tracked_objects). | 241 // Asks the renderer to send back profiler data (ThreadData in tracked_objects). |
242 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererTrackedData, | 242 IPC_MESSAGE_CONTROL2(ChromeViewMsg_GetRendererProfilerData, |
243 int /* sequence number of Renderer tracked data. */) | 243 int, /* sequence number of Renderer profiler data. */ |
| 244 std::string /* pickled Value containing profiler data. */) |
244 | 245 |
245 // Asks the renderer to set the tracking status. | 246 // Asks the renderer to set the profiler status. |
246 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetTrackingStatus, | 247 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetProfilerStatus, |
247 bool /* tracking status */) | 248 bool /* profiler status */) |
248 | 249 |
249 // Tells the renderer to create a FieldTrial, and by using a 100% probability | 250 // Tells the renderer to create a FieldTrial, and by using a 100% probability |
250 // for the FieldTrial, forces the FieldTrial to have assigned group name. | 251 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
251 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, | 252 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, |
252 std::string /* field trial name */, | 253 std::string /* field trial name */, |
253 std::string /* group name that was assigned. */) | 254 std::string /* group name that was assigned. */) |
254 | 255 |
255 #if defined(USE_TCMALLOC) | 256 #if defined(USE_TCMALLOC) |
256 // Asks the renderer to send back tcmalloc stats. | 257 // Asks the renderer to send back tcmalloc stats. |
257 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) | 258 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 473 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
473 GURL /* page url */, | 474 GURL /* page url */, |
474 GURL /* inquiry url */, | 475 GURL /* inquiry url */, |
475 search_provider::InstallState /* install */) | 476 search_provider::InstallState /* install */) |
476 | 477 |
477 // Send back histograms as vector of pickled-histogram strings. | 478 // Send back histograms as vector of pickled-histogram strings. |
478 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, | 479 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, |
479 int, /* sequence number of Renderer Histograms. */ | 480 int, /* sequence number of Renderer Histograms. */ |
480 std::vector<std::string>) | 481 std::vector<std::string>) |
481 | 482 |
482 // Send back tracked data (ThreadData in tracked_objects) as a pickled string. | 483 // Send back profiler data (ThreadData in tracked_objects) as a pickled string. |
483 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData, | 484 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererProfilerData, |
484 int, /* sequence number of Renderer tracked data. */ | 485 int, /* sequence number of Renderer profiler data. */ |
485 std::string /* pickled Value containing profile data. */) | 486 std::string /* pickled Value containing profile data. */) |
486 | 487 |
487 // Check if tracking is enabled in browser process or not. Browser process | 488 // Check if profiler is enabled in browser process or not. Browser process |
488 // responds by sending ChromeViewMsg_SetTrackingStatus message to the process | 489 // responds by sending ChromeViewMsg_SetProfilerStatus message to the process |
489 // that sent this message. | 490 // that sent this message. |
490 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled) | 491 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsProfilerEnabled) |
491 | 492 |
492 #if defined USE_TCMALLOC | 493 #if defined USE_TCMALLOC |
493 // Send back tcmalloc stats output. | 494 // Send back tcmalloc stats output. |
494 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, | 495 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, |
495 std::string /* tcmalloc debug output */) | 496 std::string /* tcmalloc debug output */) |
496 // Send back tcmalloc profile to write to a file. | 497 // Send back tcmalloc profile to write to a file. |
497 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, | 498 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
498 FilePath::StringType /* filepath */, | 499 FilePath::StringType /* filepath */, |
499 std::string /* heap profile */) | 500 std::string /* heap profile */) |
500 #endif | 501 #endif |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 // previous SetCookie message to be processed. | 598 // previous SetCookie message to be processed. |
598 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 599 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
599 GURL /* url */, | 600 GURL /* url */, |
600 GURL /* first_party_for_cookies */, | 601 GURL /* first_party_for_cookies */, |
601 std::string /* cookies */) | 602 std::string /* cookies */) |
602 | 603 |
603 // Provide the browser process with current renderer framerate. | 604 // Provide the browser process with current renderer framerate. |
604 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 605 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
605 int /* routing id */, | 606 int /* routing id */, |
606 float /* frames per second */) | 607 float /* frames per second */) |
OLD | NEW |