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

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

Issue 2044023004: Mojo: Eliminate duplicate C API symbols (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 6 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/shell/runner/host/BUILD.gn ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 945176ba651d8f19fa7beed85ab62627c8dd8356..c06ecd0a35b47b2e3c64445bc5194866814141a6 100644
--- a/services/shell/runner/host/native_application_support.cc
+++ b/services/shell/runner/host/native_application_support.cc
@@ -10,7 +10,8 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
-#include "mojo/public/platform/native/system_thunks.h"
+#include "mojo/edk/embedder/entrypoints.h"
+#include "mojo/public/c/system/thunks.h"
namespace shell {
@@ -56,7 +57,8 @@ bool RunNativeApplication(base::NativeLibrary app_library,
// Thunks aren't needed/used in component build, since the thunked methods
// just live in their own dynamically loaded library.
#if !defined(COMPONENT_BUILD)
- if (!SetThunks(&MojoMakeSystemThunks, "MojoSetSystemThunks", app_library)) {
+ if (!SetThunks(&mojo::edk::MakeSystemThunks, "MojoSetSystemThunks",
+ app_library)) {
LOG(ERROR) << "MojoSetSystemThunks not found";
return false;
}
« no previous file with comments | « services/shell/runner/host/BUILD.gn ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698