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

Unified Diff: content/public/browser/render_view_host_observer.h

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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/public/browser/render_process_host.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host_observer.h
diff --git a/content/public/browser/render_view_host_observer.h b/content/public/browser/render_view_host_observer.h
index a6a1734a04e90754688479151f8254a36722ac75..ea12cffbf71832cbae2bfb1c19890d45072c985f 100644
--- a/content/public/browser/render_view_host_observer.h
+++ b/content/public/browser/render_view_host_observer.h
@@ -6,7 +6,9 @@
#define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_OBSERVER_H_
#pragma once
-#include "ipc/ipc_channel.h"
+#include "base/compiler_specific.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "content/common/content_export.h"
class GURL;
@@ -18,8 +20,8 @@ class RenderViewHostImpl;
// An observer API implemented by classes which want to filter IPC messages from
// RenderViewHost.
-class CONTENT_EXPORT RenderViewHostObserver : public IPC::Channel::Listener,
- public IPC::Message::Sender {
+class CONTENT_EXPORT RenderViewHostObserver : public IPC::Listener,
+ public IPC::Sender {
public:
protected:
@@ -40,10 +42,10 @@ class CONTENT_EXPORT RenderViewHostObserver : public IPC::Channel::Listener,
// Notifies that a navigation is starting.
virtual void Navigate(const GURL& url);
- // IPC::Channel::Listener implementation.
+ // IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- // IPC::Message::Sender implementation.
+ // IPC::Sender implementation.
virtual bool Send(IPC::Message* message) OVERRIDE;
RenderViewHost* render_view_host() const;
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698