| 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/public/utility/run_loop.h" | 5 #include "mojo/public/utility/run_loop.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "mojo/public/system/core_cpp.h" | 9 #include "mojo/public/system/core_cpp.h" |
| 10 #include "mojo/public/tests/test_support.h" | 10 #include "mojo/public/tests/test_support.h" |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 EXPECT_TRUE(RunLoop::current() == NULL); | 183 EXPECT_TRUE(RunLoop::current() == NULL); |
| 184 { | 184 { |
| 185 RunLoop run_loop; | 185 RunLoop run_loop; |
| 186 EXPECT_EQ(&run_loop, RunLoop::current()); | 186 EXPECT_EQ(&run_loop, RunLoop::current()); |
| 187 } | 187 } |
| 188 EXPECT_TRUE(RunLoop::current() == NULL); | 188 EXPECT_TRUE(RunLoop::current() == NULL); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // namespace | 191 } // namespace |
| 192 } // namespace mojo | 192 } // namespace mojo |
| OLD | NEW |