| 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_COMMON_MESSAGE_PUMP_MOJO_H_ | 5 #ifndef MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ |
| 6 #define MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ | 6 #define MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/message_loop/message_pump.h" | 11 #include "base/message_loop/message_pump.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "mojo/common/mojo_common_export.h" | 13 #include "mojo/common/mojo_common_export.h" |
| 14 #include "mojo/public/system/core_cpp.h" | 14 #include "mojo/public/cpp/system/core.h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace common { | 17 namespace common { |
| 18 | 18 |
| 19 class MessagePumpMojoHandler; | 19 class MessagePumpMojoHandler; |
| 20 | 20 |
| 21 // Mojo implementation of MessagePump. | 21 // Mojo implementation of MessagePump. |
| 22 class MOJO_COMMON_EXPORT MessagePumpMojo : public base::MessagePump { | 22 class MOJO_COMMON_EXPORT MessagePumpMojo : public base::MessagePump { |
| 23 public: | 23 public: |
| 24 MessagePumpMojo(); | 24 MessagePumpMojo(); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // notify it. | 89 // notify it. |
| 90 int next_handler_id_; | 90 int next_handler_id_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(MessagePumpMojo); | 92 DISALLOW_COPY_AND_ASSIGN(MessagePumpMojo); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace common | 95 } // namespace common |
| 96 } // namespace mojo | 96 } // namespace mojo |
| 97 | 97 |
| 98 #endif // MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ | 98 #endif // MOJO_COMMON_MESSAGE_PUMP_MOJO_H_ |
| OLD | NEW |