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

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

Issue 10553010: Rename IPC::Channel and IPC::Sender in src/chrome. (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
Index: chrome/browser/automation/automation_resource_tracker.h
diff --git a/chrome/browser/automation/automation_resource_tracker.h b/chrome/browser/automation/automation_resource_tracker.h
index b75af06dcb9b7c076b4e47264b872be18cf2c782..7199b1a03730d18f0d886f34f7c5291ba8fddc6a 100644
--- a/chrome/browser/automation/automation_resource_tracker.h
+++ b/chrome/browser/automation/automation_resource_tracker.h
@@ -13,7 +13,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
-#include "ipc/ipc_message.h"
+#include "ipc/ipc_sender.h"
// Template trick so that AutomationResourceTracker can be used with non-pointer
// types.
@@ -31,7 +31,7 @@ struct AutomationResourceTraits<T*> {
// of AutomationResourceTracker to live in a .cc file.
class AutomationResourceTrackerImpl {
public:
- explicit AutomationResourceTrackerImpl(IPC::Message::Sender* sender);
+ explicit AutomationResourceTrackerImpl(IPC::Sender* sender);
virtual ~AutomationResourceTrackerImpl();
protected:
@@ -57,7 +57,7 @@ class AutomationResourceTrackerImpl {
ResourceToHandleMap resource_to_handle_;
HandleToResourceMap handle_to_resource_;
- IPC::Message::Sender* sender_;
+ IPC::Sender* sender_;
DISALLOW_COPY_AND_ASSIGN(AutomationResourceTrackerImpl);
};
@@ -71,8 +71,8 @@ template <class T>
class AutomationResourceTracker : public AutomationResourceTrackerImpl,
public content::NotificationObserver {
public:
- explicit AutomationResourceTracker(IPC::Message::Sender* automation)
- : AutomationResourceTrackerImpl(automation) {}
+ explicit AutomationResourceTracker(IPC::Sender* automation)
+ : AutomationResourceTrackerImpl(automation) {}
// The implementations for these should call the NotificationService
// to add and remove this object as an observer for the appropriate

Powered by Google App Engine
This is Rietveld 408576698