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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) | 237 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) |
238 | 238 |
239 // Asks the renderer to send back stats on the WebCore cache broken down by | 239 // Asks the renderer to send back stats on the WebCore cache broken down by |
240 // resource types. | 240 // resource types. |
241 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) | 241 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) |
242 | 242 |
243 // Asks the renderer to send back Histograms. | 243 // Asks the renderer to send back Histograms. |
244 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, | 244 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, |
245 int /* sequence number of Renderer Histograms. */) | 245 int /* sequence number of Renderer Histograms. */) |
246 | 246 |
247 // Asks the renderer to send back tracked data (ThreadData in tracked_objects). | |
248 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererTrackedData, | |
249 int /* sequence number of Renderer tracked data. */) | |
250 | |
247 // Tells the renderer to create a FieldTrial, and by using a 100% probability | 251 // Tells the renderer to create a FieldTrial, and by using a 100% probability |
248 // for the FieldTrial, forces the FieldTrial to have assigned group name. | 252 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
249 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, | 253 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, |
250 std::string /* field trial name */, | 254 std::string /* field trial name */, |
251 std::string /* group name that was assigned. */) | 255 std::string /* group name that was assigned. */) |
252 | 256 |
253 #if defined(USE_TCMALLOC) | 257 #if defined(USE_TCMALLOC) |
254 // Asks the renderer to send back tcmalloc stats. | 258 // Asks the renderer to send back tcmalloc stats. |
255 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) | 259 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) |
256 // Asks the renderer to enable/disable Tcmalloc heap profiling. | 260 // Asks the renderer to enable/disable Tcmalloc heap profiling. |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
488 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 492 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
489 GURL /* page url */, | 493 GURL /* page url */, |
490 GURL /* inquiry url */, | 494 GURL /* inquiry url */, |
491 search_provider::InstallState /* install */) | 495 search_provider::InstallState /* install */) |
492 | 496 |
493 // Send back histograms as vector of pickled-histogram strings. | 497 // Send back histograms as vector of pickled-histogram strings. |
494 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, | 498 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, |
495 int, /* sequence number of Renderer Histograms. */ | 499 int, /* sequence number of Renderer Histograms. */ |
496 std::vector<std::string>) | 500 std::vector<std::string>) |
497 | 501 |
502 // Send back tracked data (ThreadData in tracked_objects) as a pickled string. | |
503 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData, | |
504 int, /* sequence number of Renderer tracked data. */ | |
505 std::string) | |
jar (doing other things)
2011/10/30 08:04:19
nit: Style seems to include comment in arg list.
ramant (doing other things)
2011/11/01 00:52:15
Done.
| |
506 | |
498 #if defined USE_TCMALLOC | 507 #if defined USE_TCMALLOC |
499 // Send back tcmalloc stats output. | 508 // Send back tcmalloc stats output. |
500 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, | 509 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, |
501 std::string /* tcmalloc debug output */) | 510 std::string /* tcmalloc debug output */) |
502 // Send back tcmalloc profile to write to a file. | 511 // Send back tcmalloc profile to write to a file. |
503 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, | 512 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
504 FilePath::StringType /* filepath */, | 513 FilePath::StringType /* filepath */, |
505 std::string /* heap profile */) | 514 std::string /* heap profile */) |
506 #endif | 515 #endif |
507 | 516 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
616 // previous SetCookie message to be processed. | 625 // previous SetCookie message to be processed. |
617 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 626 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
618 GURL /* url */, | 627 GURL /* url */, |
619 GURL /* first_party_for_cookies */, | 628 GURL /* first_party_for_cookies */, |
620 std::string /* cookies */) | 629 std::string /* cookies */) |
621 | 630 |
622 // Provide the browser process with current renderer framerate. | 631 // Provide the browser process with current renderer framerate. |
623 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 632 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
624 int /* routing id */, | 633 int /* routing id */, |
625 float /* frames per second */) | 634 float /* frames per second */) |
OLD | NEW |