| 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_PUBLIC_UTILITY_RUN_LOOP_H_ | 5 #ifndef MOJO_PUBLIC_CPP_UTILITY_RUN_LOOP_H_ |
| 6 #define MOJO_PUBLIC_UTILITY_RUN_LOOP_H_ | 6 #define MOJO_PUBLIC_CPP_UTILITY_RUN_LOOP_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/system/core.h" | 10 #include "mojo/public/cpp/system/core.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 class RunLoopHandler; | 14 class RunLoopHandler; |
| 15 | 15 |
| 16 class RunLoop { | 16 class RunLoop { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // |handler_data_| and only notify handlers whose id match. If the id does not | 98 // |handler_data_| and only notify handlers whose id match. If the id does not |
| 99 // match it means the handler was removed then added so that we shouldn't | 99 // match it means the handler was removed then added so that we shouldn't |
| 100 // notify it. | 100 // notify it. |
| 101 int next_handler_id_; | 101 int next_handler_id_; |
| 102 | 102 |
| 103 MOJO_DISALLOW_COPY_AND_ASSIGN(RunLoop); | 103 MOJO_DISALLOW_COPY_AND_ASSIGN(RunLoop); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace mojo | 106 } // namespace mojo |
| 107 | 107 |
| 108 #endif // MOJO_PUBLIC_UTILITY_RUN_LOOP_H_ | 108 #endif // MOJO_PUBLIC_CPP_UTILITY_RUN_LOOP_H_ |
| OLD | NEW |