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). | |
242 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererTrackedData, | |
243 int /* sequence number of Renderer tracked data. */) | |
244 | |
245 // Asks the renderer to set the tracking status. | |
246 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetTrackingStatus, | |
247 bool /* tracking status */) | |
248 | |
249 // Tells the renderer to create a FieldTrial, and by using a 100% probability | 241 // 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. | 242 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
251 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, | 243 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, |
252 std::string /* field trial name */, | 244 std::string /* field trial name */, |
253 std::string /* group name that was assigned. */) | 245 std::string /* group name that was assigned. */) |
254 | 246 |
255 #if defined(USE_TCMALLOC) | 247 #if defined(USE_TCMALLOC) |
256 // Asks the renderer to send back tcmalloc stats. | 248 // Asks the renderer to send back tcmalloc stats. |
257 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) | 249 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) |
258 // Asks the renderer to enable/disable Tcmalloc heap profiling. | 250 // Asks the renderer to enable/disable Tcmalloc heap profiling. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 479 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
488 GURL /* page url */, | 480 GURL /* page url */, |
489 GURL /* inquiry url */, | 481 GURL /* inquiry url */, |
490 search_provider::InstallState /* install */) | 482 search_provider::InstallState /* install */) |
491 | 483 |
492 // Send back histograms as vector of pickled-histogram strings. | 484 // Send back histograms as vector of pickled-histogram strings. |
493 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, | 485 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, |
494 int, /* sequence number of Renderer Histograms. */ | 486 int, /* sequence number of Renderer Histograms. */ |
495 std::vector<std::string>) | 487 std::vector<std::string>) |
496 | 488 |
497 // Send back tracked data (ThreadData in tracked_objects) as a pickled string. | |
498 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData, | |
499 int, /* sequence number of Renderer tracked data. */ | |
500 std::string /* pickled Value containing profile data. */) | |
501 | |
502 // Check if tracking is enabled in browser process or not. Browser process | |
503 // responds by sending ChromeViewMsg_SetTrackingStatus message to the process | |
504 // that sent this message. | |
505 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled) | |
506 | |
507 #if defined USE_TCMALLOC | 489 #if defined USE_TCMALLOC |
508 // Send back tcmalloc stats output. | 490 // Send back tcmalloc stats output. |
509 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, | 491 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, |
510 std::string /* tcmalloc debug output */) | 492 std::string /* tcmalloc debug output */) |
511 // Send back tcmalloc profile to write to a file. | 493 // Send back tcmalloc profile to write to a file. |
512 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, | 494 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
513 FilePath::StringType /* filepath */, | 495 FilePath::StringType /* filepath */, |
514 std::string /* heap profile */) | 496 std::string /* heap profile */) |
515 #endif | 497 #endif |
516 | 498 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 // previous SetCookie message to be processed. | 594 // previous SetCookie message to be processed. |
613 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 595 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
614 GURL /* url */, | 596 GURL /* url */, |
615 GURL /* first_party_for_cookies */, | 597 GURL /* first_party_for_cookies */, |
616 std::string /* cookies */) | 598 std::string /* cookies */) |
617 | 599 |
618 // Provide the browser process with current renderer framerate. | 600 // Provide the browser process with current renderer framerate. |
619 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 601 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
620 int /* routing id */, | 602 int /* routing id */, |
621 float /* frames per second */) | 603 float /* frames per second */) |
OLD | NEW |