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

Unified Diff: mandoline/app/core_services_initialization.cc

Issue 1274743004: Sandbox html_viewer on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style stuff. Created 5 years, 4 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 | « components/html_viewer/html_viewer_main.cc ('k') | mandoline/services/core_services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/app/core_services_initialization.cc
diff --git a/mandoline/app/core_services_initialization.cc b/mandoline/app/core_services_initialization.cc
index 304fe1e626f62a6707c576556df6a886f7fe2c43..7f1dd123693899419e695f6b8b92ce086db32d20 100644
--- a/mandoline/app/core_services_initialization.cc
+++ b/mandoline/app/core_services_initialization.cc
@@ -16,6 +16,10 @@ void InitCoreServicesForContext(mojo::runner::Context* context) {
GURL("mojo:clipboard"), GURL("mojo:core_services"), "Sandboxed Core");
manager->RegisterApplicationPackageAlias(GURL("mojo:filesystem"),
GURL("mojo:core_services"), "Files");
+#if defined(OS_LINUX) && !defined(OS_ANDROID)
+ manager->RegisterApplicationPackageAlias(GURL("mojo:font_service"),
+ GURL("mojo:core_services"), "Files");
+#endif
#if !defined(OS_ANDROID)
// On Android, these are Java apps which are loaded in the shell process.
manager->RegisterApplicationPackageAlias(GURL("mojo:view_manager"),
« no previous file with comments | « components/html_viewer/html_viewer_main.cc ('k') | mandoline/services/core_services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698