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

Unified 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: palmer's comments 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 side-by-side diff with in-line comments
Download patch
Index: content/common/memory_benchmark_messages.h
diff --git a/content/common/memory_benchmark_messages.h b/content/common/memory_benchmark_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..fbda3d9eb13791dd524eedbec610d6ee2da6eb71
--- /dev/null
+++ b/content/common/memory_benchmark_messages.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// IPC messages for memory benchmark.
+// Multiply-included message file, hence no include guard.
+
+#include <string>
+
+#include "base/files/file_path.h"
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START MemoryBenchmarkMsgStart
+
+IPC_SYNC_MESSAGE_CONTROL0_1(MemoryBenchmarkHostMsg_HeapProfilerDump,
+ base::FilePath /* dump file name */)

Powered by Google App Engine
This is Rietveld 408576698