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

Unified Diff: shell/native_application_support.cc

Issue 1052723003: NaCl: create a separate namespace for Mojo handles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Tweak Created 5 years, 8 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 | « services/nacl/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/native_application_support.cc
diff --git a/shell/native_application_support.cc b/shell/native_application_support.cc
index 49754b439edd818ad993c2fee7c9debad8182b3f..84643d18969ec26f359dc407b574250fff5bdd3f 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -14,6 +14,7 @@
#include "mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h"
#include "mojo/public/platform/native/gles2_impl_thunks.h"
#include "mojo/public/platform/native/gles2_thunks.h"
+#include "mojo/public/platform/native/system_impl_private_thunks.h"
#include "mojo/public/platform/native/system_thunks.h"
namespace mojo {
@@ -66,6 +67,12 @@ bool RunNativeApplication(base::NativeLibrary app_library,
return false;
}
+ // TODO(ncbray): enforce the private nature of this API, somehow?
+ SetThunks(&MojoMakeSystemImplControlThunksPrivate,
+ "MojoSetSystemImplControlThunksPrivate", app_library);
+ SetThunks(&MojoMakeSystemImplThunksPrivate, "MojoSetSystemImplThunksPrivate",
+ app_library);
+
if (SetThunks(&MojoMakeGLES2ControlThunks, "MojoSetGLES2ControlThunks",
app_library)) {
// If we have the control thunks, we should also have the GLES2
« no previous file with comments | « services/nacl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698