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 #ifndef MOJO_SYSTEM_TEST_EMBEDDER_H_ | 5 #ifndef MOJO_SYSTEM_EMBEDDER_TEST_EMBEDDER_H_ |
6 #define MOJO_SYSTEM_TEST_EMBEDDER_H_ | 6 #define MOJO_SYSTEM_EMBEDDER_TEST_EMBEDDER_H_ |
7 | 7 |
8 namespace mojo { | 8 namespace mojo { |
9 namespace embedder { | 9 namespace embedder { |
10 namespace test { | 10 namespace test { |
11 | 11 |
12 // This shuts down the global, singleton instance. (Note: "Real" embedders are | 12 // This shuts down the global, singleton instance. (Note: "Real" embedders are |
13 // not expected to ever shut down this instance. This |Shutdown()| function will | 13 // not expected to ever shut down this instance. This |Shutdown()| function will |
14 // do more work to ensure that tests don't leak, etc.) | 14 // do more work to ensure that tests don't leak, etc.) |
15 // TODO(vtl): Figure out the library/component/DLL/export situation for test | 15 // TODO(vtl): Figure out the library/component/DLL/export situation for test |
16 // embedder stuff. For now, it's linked directly into the unit test binary. | 16 // embedder stuff. For now, it's linked directly into the unit test binary. |
17 void Shutdown(); | 17 void Shutdown(); |
18 | 18 |
19 } // namespace test | 19 } // namespace test |
20 } // namespace embedder | 20 } // namespace embedder |
21 } // namespace mojo | 21 } // namespace mojo |
22 | 22 |
23 #endif // MOJO_SYSTEM_EMBEDDER_H_ | 23 #endif // MOJO_SYSTEM_EMBEDDER_EMBEDDER_H_ |
OLD | NEW |