OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/edk/embedder/test_embedder.h" | 5 #include "mojo/edk/embedder/test_embedder.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "mojo/edk/embedder/embedder.h" | 9 #include "mojo/edk/embedder/embedder.h" |
10 #include "mojo/edk/embedder/embedder_internal.h" | 10 #include "mojo/edk/embedder/embedder_internal.h" |
11 #include "mojo/edk/embedder/platform_support.h" | 11 #include "mojo/edk/embedder/platform_support.h" |
12 #include "mojo/edk/system/broker.h" | |
13 #include "mojo/edk/system/core.h" | 12 #include "mojo/edk/system/core.h" |
14 #include "mojo/edk/system/handle_table.h" | 13 #include "mojo/edk/system/handle_table.h" |
15 | 14 |
16 namespace mojo { | 15 namespace mojo { |
17 | 16 |
18 namespace edk { | 17 namespace edk { |
19 namespace internal { | 18 namespace internal { |
20 | 19 |
21 bool ShutdownCheckNoLeaks(Core* core) { | 20 bool ShutdownCheckNoLeaks(Core* core) { |
22 std::vector<MojoHandle> leaked_handles; | 21 std::vector<MojoHandle> leaked_handles; |
(...skipping 19 matching lines...) Expand all Loading... |
42 delete internal::g_platform_support; | 41 delete internal::g_platform_support; |
43 internal::g_platform_support = nullptr; | 42 internal::g_platform_support = nullptr; |
44 | 43 |
45 return rv; | 44 return rv; |
46 } | 45 } |
47 | 46 |
48 } // namespace test | 47 } // namespace test |
49 } // namespace edk | 48 } // namespace edk |
50 | 49 |
51 } // namespace mojo | 50 } // namespace mojo |
OLD | NEW |