OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_LOOP_MESSAGE_PUMP_IO_IOS_H_ | 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_ |
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_ | 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 #include "base/mac/scoped_cffiledescriptorref.h" | 9 #include "base/mac/scoped_cffiledescriptorref.h" |
10 #include "base/mac/scoped_cftyperef.h" | 10 #include "base/mac/scoped_cftyperef.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop/message_pump_mac.h" | 14 #include "base/message_loop/message_pump_mac.h" |
14 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
15 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 | 19 |
19 // This file introduces a class to monitor sockets and issue callbacks when | 20 // This file introduces a class to monitor sockets and issue callbacks when |
20 // sockets are ready for I/O on iOS. | 21 // sockets are ready for I/O on iOS. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 ThreadChecker watch_file_descriptor_caller_checker_; | 136 ThreadChecker watch_file_descriptor_caller_checker_; |
136 | 137 |
137 base::WeakPtrFactory<MessagePumpIOSForIO> weak_factory_; | 138 base::WeakPtrFactory<MessagePumpIOSForIO> weak_factory_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(MessagePumpIOSForIO); | 140 DISALLOW_COPY_AND_ASSIGN(MessagePumpIOSForIO); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace base | 143 } // namespace base |
143 | 144 |
144 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_ | 145 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_ |
OLD | NEW |