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

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: Rebased 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/memory_benchmark_messages.h
diff --git a/chrome/common/one_click_signin_messages.h b/content/common/memory_benchmark_messages.h
similarity index 54%
copy from chrome/common/one_click_signin_messages.h
copy to content/common/memory_benchmark_messages.h
index fcbb75a19c90726f05cb6cc4e6ad1d85e09146a2..3955630496a50f3aa1feed7d7931fcdfcd82d939 100644
--- a/chrome/common/one_click_signin_messages.h
+++ b/content/common/memory_benchmark_messages.h
@@ -2,11 +2,14 @@
// 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 "content/public/common/password_form.h"
+#include <string>
+
#include "ipc/ipc_message_macros.h"
-#define IPC_MESSAGE_START OneClickSigninMsgStart
+#define IPC_MESSAGE_START MemoryBenchmarkMsgStart
-IPC_MESSAGE_ROUTED1(OneClickSigninHostMsg_FormSubmitted, content::PasswordForm)
+IPC_MESSAGE_CONTROL1(MemoryBenchmarkHostMsg_HeapProfilerDump,
+ std::string /* dump reason */)
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698