OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, | 240 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, |
241 int /* sequence number of Renderer Histograms. */) | 241 int /* sequence number of Renderer Histograms. */) |
242 | 242 |
243 // Tells the renderer to create a FieldTrial, and by using a 100% probability | 243 // Tells the renderer to create a FieldTrial, and by using a 100% probability |
244 // for the FieldTrial, forces the FieldTrial to have assigned group name. | 244 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
245 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, | 245 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, |
246 std::string /* field trial name */, | 246 std::string /* field trial name */, |
247 std::string /* group name that was assigned. */) | 247 std::string /* group name that was assigned. */) |
248 | 248 |
249 #if defined(USE_TCMALLOC) | 249 #if defined(USE_TCMALLOC) |
250 // Asks the renderer to send back tcmalloc stats. | |
251 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetRendererTcmalloc) | |
252 // Asks the renderer to enable/disable Tcmalloc heap profiling. | 250 // Asks the renderer to enable/disable Tcmalloc heap profiling. |
253 // Note: filename_prefix arg is effectively ignored since the render process | 251 // Note: filename_prefix arg is effectively ignored since the render process |
254 // will be unable to write files to disk. Instead use WriteTcmallocHeapProfile | 252 // will be unable to write files to disk. Instead use WriteTcmallocHeapProfile |
255 // to write a profile file. | 253 // to write a profile file. |
256 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetTcmallocHeapProfiling, | 254 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetTcmallocHeapProfiling, |
257 bool /* enable profiling */, | 255 bool /* enable profiling */, |
258 std::string /* filename prefix for profiles */) | 256 std::string /* filename prefix for profiles */) |
259 // Asks the renderer to write the Tcmalloc heap profile to a file. | 257 // Asks the renderer to write the Tcmalloc heap profile to a file. |
260 IPC_MESSAGE_CONTROL1(ChromeViewMsg_WriteTcmallocHeapProfile, | 258 IPC_MESSAGE_CONTROL1(ChromeViewMsg_WriteTcmallocHeapProfile, |
261 FilePath::StringType /* filepath */) | 259 FilePath::StringType /* filepath */) |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 GURL /* page url */, | 500 GURL /* page url */, |
503 GURL /* inquiry url */, | 501 GURL /* inquiry url */, |
504 search_provider::InstallState /* install */) | 502 search_provider::InstallState /* install */) |
505 | 503 |
506 // Send back histograms as vector of pickled-histogram strings. | 504 // Send back histograms as vector of pickled-histogram strings. |
507 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, | 505 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, |
508 int, /* sequence number of Renderer Histograms. */ | 506 int, /* sequence number of Renderer Histograms. */ |
509 std::vector<std::string>) | 507 std::vector<std::string>) |
510 | 508 |
511 #if defined USE_TCMALLOC | 509 #if defined USE_TCMALLOC |
512 // Send back tcmalloc stats output. | |
513 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc, | |
514 std::string /* tcmalloc debug output */) | |
515 // Send back tcmalloc profile to write to a file. | 510 // Send back tcmalloc profile to write to a file. |
516 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, | 511 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
517 FilePath::StringType /* filepath */, | 512 FilePath::StringType /* filepath */, |
518 std::string /* heap profile */) | 513 std::string /* heap profile */) |
519 #endif | 514 #endif |
520 | 515 |
521 // Sends back stats about the V8 heap. | 516 // Sends back stats about the V8 heap. |
522 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, | 517 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, |
523 int /* size of heap (allocated from the OS) */, | 518 int /* size of heap (allocated from the OS) */, |
524 int /* bytes in use */) | 519 int /* bytes in use */) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 // previous SetCookie message to be processed. | 616 // previous SetCookie message to be processed. |
622 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 617 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
623 GURL /* url */, | 618 GURL /* url */, |
624 GURL /* first_party_for_cookies */, | 619 GURL /* first_party_for_cookies */, |
625 std::string /* cookies */) | 620 std::string /* cookies */) |
626 | 621 |
627 // Provide the browser process with current renderer framerate. | 622 // Provide the browser process with current renderer framerate. |
628 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 623 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
629 int /* routing id */, | 624 int /* routing id */, |
630 float /* frames per second */) | 625 float /* frames per second */) |
OLD | NEW |