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

Unified Diff: shell/native_application_support.cc

Issue 1578423002: Added PlatformHandle thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
Index: shell/native_application_support.cc
diff --git a/shell/native_application_support.cc b/shell/native_application_support.cc
index ce171dcbefe9a9e3961a645ac9ac9ebcba1a396f..bb45de0f57046f94ec86f425a53735cc64c34df4 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -7,6 +7,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
+#include "mojo/platform_handle/platform_handle_private_thunks.h"
#include "mojo/public/platform/native/gles2_impl_chromium_bind_uniform_location_thunks.h"
#include "mojo/public/platform/native/gles2_impl_chromium_map_sub_thunks.h"
#include "mojo/public/platform/native/gles2_impl_chromium_miscellaneous_thunks.h"
@@ -74,6 +75,9 @@ bool RunNativeApplication(
return false;
}
+ SetThunks(&MojoMakePlatformHandlePrivateThunks,
+ "MojoSetPlatformHandlePrivateThunks", app_library);
+
// TODO(ncbray): enforce the private nature of this API, somehow?
SetThunks(&MojoMakeSystemImplControlThunksPrivate,
"MojoSetSystemImplControlThunksPrivate", app_library);

Powered by Google App Engine
This is Rietveld 408576698