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

Unified Diff: components/nacl/browser/bad_message.h

Issue 2514323004: Convert NaCl renderer-browser messages to mojo. (Closed)
Patch Set: rebase Created 3 years, 11 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: components/nacl/browser/bad_message.h
diff --git a/components/nacl/browser/bad_message.h b/components/nacl/browser/bad_message.h
index 79e0825e36822f6c8c915ac820bc59d7d0be1d2c..8e750d16b7aaba523fa8678b1521c25b1a2c2569 100644
--- a/components/nacl/browser/bad_message.h
+++ b/components/nacl/browser/bad_message.h
@@ -5,10 +5,6 @@
#ifndef COMPONENTS_NACL_BROWSER_BAD_MESSAGE_H_
#define COMPONENTS_NACL_BROWSER_BAD_MESSAGE_H_
-namespace content {
-class BrowserMessageFilter;
-}
-
namespace nacl {
namespace bad_message {
@@ -34,10 +30,9 @@ enum BadMessageReason {
};
// Called when a browser message filter receives a bad IPC message from a
-// renderer or other child process. Logs the event, records a histogram metric
-// for the |reason|, and terminates the process for |filter|.
-void ReceivedBadMessage(content::BrowserMessageFilter* filter,
- BadMessageReason reason);
+// renderer. Logs the event, records a histogram metric for the |reason|, and
+// terminates the process for |render_process_id|.
+void ReceivedBadMessage(int render_process_id, BadMessageReason reason);
} // namespace bad_message
} // namespace nacl

Powered by Google App Engine
This is Rietveld 408576698