Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: chrome/common/render_messages.h

Issue 11094041: Merge 161048 - Disable tcmalloc profile files. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // Asks the renderer to send back stats on the WebCore cache broken down by 253 // Asks the renderer to send back stats on the WebCore cache broken down by
254 // resource types. 254 // resource types.
255 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) 255 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats)
256 256
257 // Tells the renderer to create a FieldTrial, and by using a 100% probability 257 // Tells the renderer to create a FieldTrial, and by using a 100% probability
258 // for the FieldTrial, forces the FieldTrial to have assigned group name. 258 // for the FieldTrial, forces the FieldTrial to have assigned group name.
259 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, 259 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup,
260 std::string /* field trial name */, 260 std::string /* field trial name */,
261 std::string /* group name that was assigned. */) 261 std::string /* group name that was assigned. */)
262 262
263 #if defined(USE_TCMALLOC)
264 // Asks the renderer to enable/disable Tcmalloc heap profiling.
265 // Note: filename_prefix arg is effectively ignored since the render process
266 // will be unable to write files to disk. Instead use WriteTcmallocHeapProfile
267 // to write a profile file.
268 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetTcmallocHeapProfiling,
269 bool /* enable profiling */,
270 std::string /* filename prefix for profiles */)
271 // Asks the renderer to write the Tcmalloc heap profile to a file.
272 IPC_MESSAGE_CONTROL1(ChromeViewMsg_WriteTcmallocHeapProfile,
273 FilePath::StringType /* filepath */)
274 #endif
275
276 // Asks the renderer to send back V8 heap stats. 263 // Asks the renderer to send back V8 heap stats.
277 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats) 264 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats)
278 265
279 // Posts a message to the renderer. 266 // Posts a message to the renderer.
280 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost, 267 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost,
281 std::string /* The message */, 268 std::string /* The message */,
282 std::string /* The origin */, 269 std::string /* The origin */,
283 std::string /* The target*/) 270 std::string /* The target*/)
284 271
285 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange, 272 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, 528 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState,
542 GURL /* page url */, 529 GURL /* page url */,
543 GURL /* inquiry url */, 530 GURL /* inquiry url */,
544 search_provider::InstallState /* install */) 531 search_provider::InstallState /* install */)
545 532
546 // Send back histograms as vector of pickled-histogram strings. 533 // Send back histograms as vector of pickled-histogram strings.
547 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms, 534 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms,
548 int, /* sequence number of Renderer Histograms. */ 535 int, /* sequence number of Renderer Histograms. */
549 std::vector<std::string>) 536 std::vector<std::string>)
550 537
551 #if defined USE_TCMALLOC
552 // Send back tcmalloc profile to write to a file.
553 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK,
554 FilePath::StringType /* filepath */,
555 std::string /* heap profile */)
556 #endif
557
558 // Sends back stats about the V8 heap. 538 // Sends back stats about the V8 heap.
559 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, 539 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats,
560 int /* size of heap (allocated from the OS) */, 540 int /* size of heap (allocated from the OS) */,
561 int /* bytes in use */) 541 int /* bytes in use */)
562 542
563 // Request for a DNS prefetch of the names in the array. 543 // Request for a DNS prefetch of the names in the array.
564 // NameList is typedef'ed std::vector<std::string> 544 // NameList is typedef'ed std::vector<std::string>
565 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, 545 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch,
566 std::vector<std::string> /* hostnames */) 546 std::vector<std::string> /* hostnames */)
567 547
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 // previous SetCookie message to be processed. 647 // previous SetCookie message to be processed.
668 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 648 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
669 GURL /* url */, 649 GURL /* url */,
670 GURL /* first_party_for_cookies */, 650 GURL /* first_party_for_cookies */,
671 std::string /* cookies */) 651 std::string /* cookies */)
672 652
673 // Provide the browser process with current renderer framerate. 653 // Provide the browser process with current renderer framerate.
674 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 654 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
675 int /* routing id */, 655 int /* routing id */,
676 float /* frames per second */) 656 float /* frames per second */)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/chrome_render_process_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698