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

Unified Diff: sandbox/mac/launchd_interception_server.h

Issue 398563002: Do not create a reply IPCMessage for every message received. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | sandbox/mac/launchd_interception_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/launchd_interception_server.h
diff --git a/sandbox/mac/launchd_interception_server.h b/sandbox/mac/launchd_interception_server.h
index 034cf13941b6ee4e6cbbaf07d23b58559ee3161f..4d5f9dbc58f3c9f1874a58f080b6e839976ba1eb 100644
--- a/sandbox/mac/launchd_interception_server.h
+++ b/sandbox/mac/launchd_interception_server.h
@@ -33,21 +33,19 @@ class LaunchdInterceptionServer : public MessageDemuxer {
bool Initialize(mach_port_t server_receive_right);
// MessageDemuxer:
- virtual void DemuxMessage(IPCMessage request, IPCMessage reply) OVERRIDE;
+ virtual void DemuxMessage(IPCMessage request) OVERRIDE;
mach_port_t server_port() const { return message_server_->GetServerPort(); }
private:
// Given a look_up2 request message, this looks up the appropriate sandbox
// policy for the service name then formulates and sends the reply message.
- void HandleLookUp(IPCMessage request,
- IPCMessage reply,
- const BootstrapSandboxPolicy* policy);
+ void HandleLookUp(IPCMessage request, const BootstrapSandboxPolicy* policy);
// Given a swap_integer request message, this verifies that it is safe, and
// if so, forwards it on to launchd for servicing. If the request is unsafe,
// it replies with an error.
- void HandleSwapInteger(IPCMessage request, IPCMessage reply);
+ void HandleSwapInteger(IPCMessage request);
// Forwards the original |request| on to real bootstrap server for handling.
void ForwardMessage(IPCMessage request);
« no previous file with comments | « no previous file | sandbox/mac/launchd_interception_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698