OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_SYSTEM_TEST_EMBEDDER_H_ |
| 6 #define MOJO_SYSTEM_TEST_EMBEDDER_H_ |
| 7 |
| 8 namespace mojo { |
| 9 namespace embedder { |
| 10 namespace test { |
| 11 |
| 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 |
| 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 |
| 16 // embedder stuff. For now, it's linked directly into the unit test binary. |
| 17 void Shutdown(); |
| 18 |
| 19 } // namespace test |
| 20 } // namespace embedder |
| 21 } // namespace mojo |
| 22 |
| 23 #endif // MOJO_SYSTEM_EMBEDDER_H_ |
OLD | NEW |