| 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_WIN_H_ | 5 #ifndef BASE_MESSAGE_PUMP_WIN_H_ |
| 6 #define BASE_MESSAGE_PUMP_WIN_H_ | 6 #define BASE_MESSAGE_PUMP_WIN_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <windows.h> | 8 #include <windows.h> |
| 10 | 9 |
| 11 #include <list> | 10 #include <list> |
| 12 | 11 |
| 13 #include "base/base_export.h" | 12 #include "base/base_export.h" |
| 14 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 15 #include "base/message_pump.h" | 14 #include "base/message_pump.h" |
| 16 #include "base/message_pump_dispatcher.h" | 15 #include "base/message_pump_dispatcher.h" |
| 17 #include "base/message_pump_observer.h" | 16 #include "base/message_pump_observer.h" |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 // This list will be empty almost always. It stores IO completions that have | 331 // This list will be empty almost always. It stores IO completions that have |
| 333 // not been delivered yet because somebody was doing cleanup. | 332 // not been delivered yet because somebody was doing cleanup. |
| 334 std::list<IOItem> completed_io_; | 333 std::list<IOItem> completed_io_; |
| 335 | 334 |
| 336 ObserverList<IOObserver> io_observers_; | 335 ObserverList<IOObserver> io_observers_; |
| 337 }; | 336 }; |
| 338 | 337 |
| 339 } // namespace base | 338 } // namespace base |
| 340 | 339 |
| 341 #endif // BASE_MESSAGE_PUMP_WIN_H_ | 340 #endif // BASE_MESSAGE_PUMP_WIN_H_ |
| OLD | NEW |