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

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

Issue 1278803006: Gets //mandoline passing gn check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: notandroid 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
Index: mandoline/services/core_services/application_delegate_factory_linux.cc
diff --git a/mandoline/services/core_services/application_delegate_factory_linux.cc b/mandoline/services/core_services/application_delegate_factory_linux.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fe14ee493639f442422ec2e2e1c0bcb1db101849
--- /dev/null
+++ b/mandoline/services/core_services/application_delegate_factory_linux.cc
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "mandoline/services/core_services/application_delegate_factory.h"
+
+#include "components/font_service/font_service_app.h"
+
+namespace core_services {
+
+scoped_ptr<mojo::ApplicationDelegate> CreatePlatformSpecificApplicationDelegate(
+ const std::string& url) {
+ return url == "mojo://font_service/"
+ ? make_scoped_ptr(new font_service::FontServiceApp)
+ : nullptr;
+}
+
+} // namespace core_services

Powered by Google App Engine
This is Rietveld 408576698