diff options
Diffstat (limited to 'base/message_loop/message_pump_glib.h')
-rw-r--r-- | base/message_loop/message_pump_glib.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/base/message_loop/message_pump_glib.h b/base/message_loop/message_pump_glib.h index 33690d0..174bd05 100644 --- a/base/message_loop/message_pump_glib.h +++ b/base/message_loop/message_pump_glib.h @@ -51,13 +51,6 @@ class BASE_EXPORT MessagePumpGlib : public MessagePump { bool HandleCheck(); void HandleDispatch(); - // Adds an Observer, which will start receiving notifications immediately. - void AddObserver(MessagePumpObserver* observer); - - // Removes an Observer. It is safe to call this method while an Observer is - // receiving a notification callback. - void RemoveObserver(MessagePumpObserver* observer); - // Overridden from MessagePump: virtual void Run(Delegate* delegate) OVERRIDE; virtual void Quit() OVERRIDE; @@ -68,8 +61,6 @@ class BASE_EXPORT MessagePumpGlib : public MessagePump { // Returns the dispatcher for the current run state (|state_->dispatcher|). MessagePumpDispatcher* GetDispatcher(); - ObserverList<MessagePumpObserver>& observers() { return observers_; } - private: // We may make recursive calls to Run, so we save state that needs to be // separate between them in this structure type. @@ -98,9 +89,6 @@ class BASE_EXPORT MessagePumpGlib : public MessagePump { // Use a scoped_ptr to avoid needing the definition of GPollFD in the header. scoped_ptr<GPollFD> wakeup_gpollfd_; - // List of observers. - ObserverList<MessagePumpObserver> observers_; - DISALLOW_COPY_AND_ASSIGN(MessagePumpGlib); }; |