Remove 'Protocol' suffix from IPDL-generated files

This commit is contained in:
Ben Turner
2009-09-09 15:59:06 -07:00
parent ce3ffecf52
commit df5a61685f
26 changed files with 107 additions and 111 deletions

View File

@@ -37,7 +37,7 @@
#include "TestShellChild.h"
using mozilla::ipc::TestShellChild;
using mozilla::ipc::PTestShellCommandProtocolChild;
using mozilla::ipc::PTestShellCommandChild;
using mozilla::ipc::XPCShellEnvironment;
TestShellChild::TestShellChild()
@@ -56,14 +56,14 @@ TestShellChild::RecvExecuteCommand(const nsString& aCommand)
return mXPCShell->EvaluateString(aCommand) ? NS_OK : NS_ERROR_FAILURE;
}
PTestShellCommandProtocolChild*
PTestShellCommandChild*
TestShellChild::PTestShellCommandConstructor(const nsString& aCommand)
{
return new PTestShellCommandProtocolChild();
return new PTestShellCommandChild();
}
nsresult
TestShellChild::PTestShellCommandDestructor(PTestShellCommandProtocolChild* aCommand,
TestShellChild::PTestShellCommandDestructor(PTestShellCommandChild* aCommand,
const nsString& aResponse)
{
NS_ENSURE_ARG_POINTER(aCommand);
@@ -72,7 +72,7 @@ TestShellChild::PTestShellCommandDestructor(PTestShellCommandProtocolChild* aCom
}
nsresult
TestShellChild::RecvPTestShellCommandConstructor(PTestShellCommandProtocolChild* aActor,
TestShellChild::RecvPTestShellCommandConstructor(PTestShellCommandChild* aActor,
const nsString& aCommand)
{
NS_ASSERTION(aActor, "Shouldn't be null!");