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

Unified Diff: components/nacl/renderer/manifest_service_channel.h

Issue 231793003: Add IPC Channel for new ManifestService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « components/nacl/loader/nonsfi/nonsfi_main.cc ('k') | components/nacl/renderer/manifest_service_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_main.cc ('k') | components/nacl/renderer/manifest_service_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698