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

Side by Side Diff: content/common/memory_benchmark_messages.h

Issue 15082004: Adds chrome.memoryBenchmarking.heapProfilerDump for the browser process. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // IPC messages for device motion.
piman 2013/05/10 18:13:52 nit: fix description.
bulach 2013/05/10 18:46:03 Done.
5 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
6 7
7 #include "content/public/common/password_form.h" 8 #include <string>
9
8 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
9 11
10 #define IPC_MESSAGE_START OneClickSigninMsgStart 12 #define IPC_MESSAGE_START MemoryBenchmarkMsgStart
11 13
12 IPC_MESSAGE_ROUTED1(OneClickSigninHostMsg_FormSubmitted, content::PasswordForm) 14 IPC_SYNC_MESSAGE_ROUTED0_1(MemoryBenchmarkHostMsg_HeapProfilerDump,
piman 2013/05/10 18:13:52 This message doesn't need to be ROUTED, it could j
bulach 2013/05/10 18:46:03 ah, right.. much simpler, thanks!
15 std::string /* dump file name */)
piman 2013/05/10 18:13:52 nit: use FilePath in IPCs.
palmer 2013/05/10 18:42:17 It's more than a nit. :) An arbitrary file pathnam
bulach 2013/05/10 18:46:03 Done.
bulach 2013/05/10 18:47:31 sorry, I didn't address this comment in patchset #
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698