Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: mojo/system/test_embedder.h

Issue 140403002: Mojo: Add the ability to hook up a channel to the embedder API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/system/remote_message_pipe_posix_unittest.cc ('k') | mojo/system/test_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/test_embedder.h
diff --git a/mojo/system/test_embedder.h b/mojo/system/test_embedder.h
new file mode 100644
index 0000000000000000000000000000000000000000..457165fc8ac109126a5be33fd882fbad8cffbe75
--- /dev/null
+++ b/mojo/system/test_embedder.h
@@ -0,0 +1,23 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_SYSTEM_TEST_EMBEDDER_H_
+#define MOJO_SYSTEM_TEST_EMBEDDER_H_
+
+namespace mojo {
+namespace embedder {
+namespace test {
+
+// This shuts down the global, singleton instance. (Note: "Real" embedders are
+// not expected to ever shut down this instance. This |Shutdown()| function will
+// do more work to ensure that tests don't leak, etc.)
+// TODO(vtl): Figure out the library/component/DLL/export situation for test
+// embedder stuff. For now, it's linked directly into the unit test binary.
+void Shutdown();
+
+} // namespace test
+} // namespace embedder
+} // namespace mojo
+
+#endif // MOJO_SYSTEM_EMBEDDER_H_
« no previous file with comments | « mojo/system/remote_message_pipe_posix_unittest.cc ('k') | mojo/system/test_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698