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

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

Issue 898623002: Make mojo::system::Core not own the PlatformSupport. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: foo Created 5 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/edk/embedder/embedder.cc ('k') | mojo/edk/embedder/test_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/embedder_internal.h
diff --git a/mojo/edk/embedder/embedder_internal.h b/mojo/edk/embedder/embedder_internal.h
index e9fc4b8866c4ee8d2e6c59ee2833d422cd2368f3..536e0dbe729cee53d1badb105dbdda4ec65d4e01 100644
--- a/mojo/edk/embedder/embedder_internal.h
+++ b/mojo/edk/embedder/embedder_internal.h
@@ -25,6 +25,8 @@ typedef uint64_t ChannelId;
namespace embedder {
+class PlatformSupport;
+
// This is a type that's opaque to users of the embedder API (which only
// gives/takes |ChannelInfo*|s). We make it a struct to make it
// template-friendly.
@@ -37,6 +39,9 @@ struct ChannelInfo {
namespace internal {
+// Instance of |PlatformSupport| to use.
+extern PlatformSupport* g_platform_support;
+
// Instance of |Core| used by the system functions (|Mojo...()|).
extern system::Core* g_core;
« no previous file with comments | « mojo/edk/embedder/embedder.cc ('k') | mojo/edk/embedder/test_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698