| 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 #include "mojo/message_pump/handle_watcher.h" | 5 #include "mojo/message_pump/handle_watcher.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <map> | 10 #include <map> |
| 8 | 11 |
| 9 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
| 10 #include "base/bind.h" | 13 #include "base/bind.h" |
| 11 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
| 12 #include "base/logging.h" | 15 #include "base/logging.h" |
| 13 #include "base/macros.h" | 16 #include "base/macros.h" |
| 14 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
| 15 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 16 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 this, handle, handle_signals, deadline, callback)); | 482 this, handle, handle_signals, deadline, callback)); |
| 480 } | 483 } |
| 481 } | 484 } |
| 482 | 485 |
| 483 void HandleWatcher::Stop() { | 486 void HandleWatcher::Stop() { |
| 484 state_.reset(); | 487 state_.reset(); |
| 485 } | 488 } |
| 486 | 489 |
| 487 } // namespace common | 490 } // namespace common |
| 488 } // namespace mojo | 491 } // namespace mojo |
| OLD | NEW |