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

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 10541065: Separate out IPC::Message::Sender and channel::Listener into a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: de-inline 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 | « no previous file | chrome/browser/service/service_process_control.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.h
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index e9d2a50a82eb031cdf8a63aed95c4ec74f656fa4..1d835e5fe24e12c9da957dde6b85887c79e6685d 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -32,6 +32,8 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/trace_subscriber.h"
#include "ipc/ipc_channel.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#if defined(OS_WIN) && !defined(USE_AURA)
#include "ui/gfx/native_widget_types.h"
@@ -79,8 +81,8 @@ class Point;
}
class AutomationProvider
- : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+ : public IPC::Listener,
+ public IPC::Sender,
public base::SupportsWeakPtr<AutomationProvider>,
public base::RefCountedThreadSafe<
AutomationProvider, content::BrowserThread::DeleteOnUIThread>,
@@ -133,10 +135,10 @@ class AutomationProvider
const content::NavigationController* controller,
const Browser* parent) const;
- // IPC::Channel::Sender implementation.
+ // IPC::Sender implementation.
virtual bool Send(IPC::Message* msg) OVERRIDE;
- // IPC::Channel::Listener implementation.
+ // IPC::Listener implementation.
virtual void OnChannelConnected(int pid) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/service/service_process_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698