Index: components/nacl/renderer/manifest_service_channel.h |
diff --git a/components/nacl/renderer/trusted_plugin_channel.h b/components/nacl/renderer/manifest_service_channel.h |
similarity index 70% |
copy from components/nacl/renderer/trusted_plugin_channel.h |
copy to components/nacl/renderer/manifest_service_channel.h |
index d1689b4f92b8e08b01d8596ebe81de684bd1344b..7dea3d557ebbe6a3814b00b5482e2ccfcaf5836d 100644 |
--- a/components/nacl/renderer/trusted_plugin_channel.h |
+++ b/components/nacl/renderer/manifest_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_MANIFEST_SERVICE_CHANNEL_H_ |
+#define COMPONENTS_NACL_RENDERER_MANIFEST_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 ManifestServiceChannel : public IPC::Listener { |
public: |
- TrustedPluginChannel( |
+ ManifestServiceChannel( |
const IPC::ChannelHandle& handle, |
const base::Callback<void(int32_t)>& connected_callback, |
base::WaitableEvent* waitable_event); |
- virtual ~TrustedPluginChannel(); |
- |
- bool Send(IPC::Message* message); |
+ virtual ~ManifestServiceChannel(); |
// 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(ManifestServiceChannel); |
}; |
} // namespace nacl |
-#endif // COMPONENTS_NACL_RENDERER_TRUSTED_PLUGIN_CHANNEL_H_ |
+#endif // COMPONENTS_NACL_RENDERER_MANIFEST_SERVICE_CHANNEL_H_ |