| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_MESSAGE_PUMP_GLIB_H_ | 5 #ifndef BASE_MESSAGE_PUMP_GLIB_H_ |
| 6 #define BASE_MESSAGE_PUMP_GLIB_H_ | 6 #define BASE_MESSAGE_PUMP_GLIB_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/message_pump.h" | 9 #include "base/message_pump.h" |
| 11 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 12 #include "base/time.h" | 11 #include "base/time.h" |
| 13 | 12 |
| 14 typedef struct _GMainContext GMainContext; | 13 typedef struct _GMainContext GMainContext; |
| 15 typedef struct _GPollFD GPollFD; | 14 typedef struct _GPollFD GPollFD; |
| 16 typedef struct _GSource GSource; | 15 typedef struct _GSource GSource; |
| 17 | 16 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 100 |
| 102 // List of observers. | 101 // List of observers. |
| 103 ObserverList<MessagePumpObserver> observers_; | 102 ObserverList<MessagePumpObserver> observers_; |
| 104 | 103 |
| 105 DISALLOW_COPY_AND_ASSIGN(MessagePumpGlib); | 104 DISALLOW_COPY_AND_ASSIGN(MessagePumpGlib); |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 } // namespace base | 107 } // namespace base |
| 109 | 108 |
| 110 #endif // BASE_MESSAGE_PUMP_GLIB_H_ | 109 #endif // BASE_MESSAGE_PUMP_GLIB_H_ |
| OLD | NEW |