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

Unified Diff: mojo/edk/embedder/test_embedder.h

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 2 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
Index: mojo/edk/embedder/test_embedder.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/test_embedder.h b/mojo/edk/embedder/test_embedder.h
similarity index 60%
copy from third_party/mojo/src/mojo/edk/embedder/test_embedder.h
copy to mojo/edk/embedder/test_embedder.h
index 3591bd7f3171a42a760f53e9ccb5fe84e372b818..c64ba179e1de0af5fb76975cb6c14cabd83e6766 100644
--- a/third_party/mojo/src/mojo/edk/embedder/test_embedder.h
+++ b/mojo/edk/embedder/test_embedder.h
@@ -2,19 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_
+#ifndef MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_
+#define MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_
-#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
+#include "mojo/edk/system/system_impl_export.h"
namespace mojo {
-namespace embedder {
+namespace edk {
namespace test {
-// Calls |Init()| with a |SimplePlatformSupport| (use this in tests if, e.g.,
-// you don't care about sandboxing, etc.).
-MOJO_SYSTEM_IMPL_EXPORT void InitWithSimplePlatformSupport();
-
// 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.) Returns true if there
@@ -26,7 +22,7 @@ MOJO_SYSTEM_IMPL_EXPORT void InitWithSimplePlatformSupport();
MOJO_SYSTEM_IMPL_EXPORT bool Shutdown();
} // namespace test
-} // namespace embedder
+} // namespace edk
} // namespace mojo
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_
+#endif // MOJO_EDK_EMBEDDER_TEST_EMBEDDER_H_

Powered by Google App Engine
This is Rietveld 408576698