Index: components/nacl/renderer/embedder_service_channel.h |
diff --git a/components/nacl/renderer/trusted_plugin_channel.h b/components/nacl/renderer/embedder_service_channel.h |
similarity index 70% |
copy from components/nacl/renderer/trusted_plugin_channel.h |
copy to components/nacl/renderer/embedder_service_channel.h |
index d1689b4f92b8e08b01d8596ebe81de684bd1344b..063eff8234b58210c1fbb3f6f4d3ee07dcf96b26 100644 |
--- a/components/nacl/renderer/trusted_plugin_channel.h |
+++ b/components/nacl/renderer/embedder_service_channel.h |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_NACL_RENDERER_TRUSTED_PLUGIN_CHANNEL_H_ |
-#define COMPONENTS_NACL_RENDERER_TRUSTED_PLUGIN_CHANNEL_H_ |
+#ifndef COMPONENTS_NACL_RENDERER_EMBEDDER_SERVICE_CHANNEL_H_ |
+#define COMPONENTS_NACL_RENDERER_EMBEDDER_SERVICE_CHANNEL_H_ |
#include "base/callback.h" |
+#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "ipc/ipc_listener.h" |
@@ -21,15 +22,13 @@ class SyncChannel; |
namespace nacl { |
-class TrustedPluginChannel : public IPC::Listener { |
+class EmbedderServiceChannel : public IPC::Listener { |
public: |
- TrustedPluginChannel( |
+ EmbedderServiceChannel( |
const IPC::ChannelHandle& handle, |
const base::Callback<void(int32_t)>& connected_callback, |
base::WaitableEvent* waitable_event); |
- virtual ~TrustedPluginChannel(); |
- |
- bool Send(IPC::Message* message); |
+ virtual ~EmbedderServiceChannel(); |
// Listener implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
@@ -40,9 +39,9 @@ class TrustedPluginChannel : public IPC::Listener { |
base::Callback<void(int32_t)> connected_callback_; |
scoped_ptr<IPC::SyncChannel> channel_; |
- DISALLOW_COPY_AND_ASSIGN(TrustedPluginChannel); |
+ DISALLOW_COPY_AND_ASSIGN(EmbedderServiceChannel); |
}; |
} // namespace nacl |
-#endif // COMPONENTS_NACL_RENDERER_TRUSTED_PLUGIN_CHANNEL_H_ |
+#endif // COMPONENTS_NACL_RENDERER_EMBEDDER_SERVICE_CHANNEL_H_ |