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

Unified Diff: services/shell/runner/host/native_application_support.cc

Issue 1995753002: [mojo-edk] Expose portable API for platform handle wrapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: services/shell/runner/host/native_application_support.cc
diff --git a/services/shell/runner/host/native_application_support.cc b/services/shell/runner/host/native_application_support.cc
index cb213748cf9721be148479d9f52e2997e875eafc..945176ba651d8f19fa7beed85ab62627c8dd8356 100644
--- a/services/shell/runner/host/native_application_support.cc
+++ b/services/shell/runner/host/native_application_support.cc
@@ -10,7 +10,6 @@
#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/system_thunks.h"
namespace shell {
@@ -82,10 +81,7 @@ bool RunNativeApplication(base::NativeLibrary app_library,
}
#endif
- // Apps need not include platform handle thunks.
- SetThunks(&MojoMakePlatformHandlePrivateThunks,
- "MojoSetPlatformHandlePrivateThunks", app_library);
-#endif
+#endif // !defined(COMPONENT_BUILD)
typedef MojoResult (*MojoMainFunction)(MojoHandle);
MojoMainFunction main_function = reinterpret_cast<MojoMainFunction>(
« mojo/public/cpp/system/platform_handle.h ('K') | « services/catalog/public/cpp/resource_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698