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

Unified Diff: mandoline/services/core_services/core_services_application_delegate.cc

Issue 1280043003: Sandbox html_viewer on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update DEPS for the new dependency. 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 | « mandoline/services/core_services/DEPS ('k') | mojo/runner/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/services/core_services/core_services_application_delegate.cc
diff --git a/mandoline/services/core_services/core_services_application_delegate.cc b/mandoline/services/core_services/core_services_application_delegate.cc
index 7805164bdc0f30eb68189c431c9b8f6d84a05101..d3ef94685acfcf9fe628be02b56a7b2d8b87b8ed 100644
--- a/mandoline/services/core_services/core_services_application_delegate.cc
+++ b/mandoline/services/core_services/core_services_application_delegate.cc
@@ -28,6 +28,10 @@
#include "mojo/services/network/network_service_delegate.h"
#endif
+#if defined(OS_LINUX) && !defined(OS_ANDROID)
+#include "components/font_service/font_service_app.h"
+#endif
+
namespace core_services {
// A helper class for hosting a mojo::ApplicationImpl on its own thread.
@@ -130,6 +134,10 @@ void CoreServicesApplicationDelegate::StartApplication(
delegate.reset(new clipboard::ClipboardApplicationDelegate);
} else if (url == "mojo://filesystem/") {
delegate.reset(new filesystem::FileSystemApp);
+#if defined(OS_LINUX) && !defined(OS_ANDROID)
+ } else if (url == "mojo://font_service/") {
+ delegate.reset(new font_service::FontServiceApp);
+#endif
} else if (url == "mojo://surfaces_service/") {
delegate.reset(new surfaces::SurfacesServiceApplication);
} else if (url == "mojo://tracing/") {
« no previous file with comments | « mandoline/services/core_services/DEPS ('k') | mojo/runner/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698