| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ | 5 #ifndef MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |
| 6 #define MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ | 6 #define MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 12 #include "mojo/message_pump/mojo_message_pump_export.h" | 12 #include "mojo/message_pump/mojo_message_pump_export.h" |
| 13 #include "mojo/public/cpp/system/core.h" | 13 #include "mojo/public/cpp/system/core.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class Thread; | 16 class Thread; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace mojo { | 19 namespace mojo { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // If non-NULL Start() has been invoked. | 53 // If non-NULL Start() has been invoked. |
| 54 scoped_ptr<StateBase> state_; | 54 scoped_ptr<StateBase> state_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(HandleWatcher); | 56 DISALLOW_COPY_AND_ASSIGN(HandleWatcher); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace common | 59 } // namespace common |
| 60 } // namespace mojo | 60 } // namespace mojo |
| 61 | 61 |
| 62 #endif // MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ | 62 #endif // MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |
| OLD | NEW |