| 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/message_pump_mojo.h" | 5 #include "mojo/message_pump/message_pump_mojo.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/debug/alias.h" | 12 #include "base/debug/alias.h" |
| 11 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 12 #include "base/logging.h" | 14 #include "base/logging.h" |
| 13 #include "base/threading/thread_local.h" | 15 #include "base/threading/thread_local.h" |
| 14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 15 #include "mojo/message_pump/message_pump_mojo_handler.h" | 17 #include "mojo/message_pump/message_pump_mojo_handler.h" |
| 16 #include "mojo/message_pump/time_helper.h" | 18 #include "mojo/message_pump/time_helper.h" |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 void MessagePumpMojo::WillSignalHandler() { | 313 void MessagePumpMojo::WillSignalHandler() { |
| 312 FOR_EACH_OBSERVER(Observer, observers_, WillSignalHandler()); | 314 FOR_EACH_OBSERVER(Observer, observers_, WillSignalHandler()); |
| 313 } | 315 } |
| 314 | 316 |
| 315 void MessagePumpMojo::DidSignalHandler() { | 317 void MessagePumpMojo::DidSignalHandler() { |
| 316 FOR_EACH_OBSERVER(Observer, observers_, DidSignalHandler()); | 318 FOR_EACH_OBSERVER(Observer, observers_, DidSignalHandler()); |
| 317 } | 319 } |
| 318 | 320 |
| 319 } // namespace common | 321 } // namespace common |
| 320 } // namespace mojo | 322 } // namespace mojo |
| OLD | NEW |