Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).

This commit is contained in:
David Anderson
2013-09-27 18:42:08 -07:00
parent b4cef087f5
commit d2c237dd72
44 changed files with 2721 additions and 2117 deletions

View File

@@ -16,7 +16,7 @@
#include "base/process_util.h"
#include "mozilla/Attributes.h"
#include "mozilla/dom/PCrashReporterParent.h"
#include "mozilla/ipc/SyncChannel.h"
#include "mozilla/ipc/MessageChannel.h"
#include "mozilla/plugins/BrowserStreamParent.h"
#include "mozilla/plugins/PluginInstanceParent.h"
#include "mozilla/Preferences.h"
@@ -51,7 +51,7 @@
using base::KillProcess;
using mozilla::PluginLibrary;
using mozilla::ipc::SyncChannel;
using mozilla::ipc::MessageChannel;
using mozilla::dom::PCrashReporterParent;
using mozilla::dom::CrashReporterParent;
@@ -248,7 +248,7 @@ void
PluginModuleParent::SetChildTimeout(const int32_t aChildTimeout)
{
int32_t timeoutMs = (aChildTimeout > 0) ? (1000 * aChildTimeout) :
SyncChannel::kNoTimeout;
MessageChannel::kNoTimeout;
SetReplyTimeoutMs(timeoutMs);
}