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

Unified Diff: content/common/npobject_stub.h

Issue 10662005: Use IPC::Sender and IPC::Listener in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « content/common/npobject_proxy.cc ('k') | content/common/npobject_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/npobject_stub.h
diff --git a/content/common/npobject_stub.h b/content/common/npobject_stub.h
index 6721a6fcf84cfb740c6290604e6e1586362ae27b..189fdab55a069b2521f8819565be76418216f3aa 100644
--- a/content/common/npobject_stub.h
+++ b/content/common/npobject_stub.h
@@ -15,7 +15,8 @@
#include "base/memory/weak_ptr.h"
#include "content/common/npobject_base.h"
#include "googleurl/src/gurl.h"
-#include "ipc/ipc_channel.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "ui/gfx/native_widget_types.h"
class NPChannelBase;
@@ -26,8 +27,8 @@ struct NPVariant_Param;
// This wraps an NPObject and converts IPC messages from NPObjectProxy to calls
// to the object. The results are marshalled back. See npobject_proxy.h for
// more information.
-class NPObjectStub : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+class NPObjectStub : public IPC::Listener,
+ public IPC::Sender,
public base::SupportsWeakPtr<NPObjectStub>,
public NPObjectBase {
public:
@@ -45,15 +46,15 @@ class NPObjectStub : public IPC::Channel::Listener,
// more than once, until control returns to the main loop.
void DeleteSoon();
- // IPC::Message::Sender implementation:
+ // IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
// NPObjectBase implementation.
virtual NPObject* GetUnderlyingNPObject() OVERRIDE;
- virtual IPC::Channel::Listener* GetChannelListener() OVERRIDE;
+ virtual IPC::Listener* GetChannelListener() OVERRIDE;
private:
- // IPC::Channel::Listener implementation:
+ // IPC::Listener implementation:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
« no previous file with comments | « content/common/npobject_proxy.cc ('k') | content/common/npobject_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698