OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "mandoline/services/core_services/application_delegate_factory.h" | |
6 | |
7 #include "components/font_service/font_service_app.h" | |
8 | |
9 namespace core_services { | |
10 | |
11 scoped_ptr<mojo::ShellClient> CreatePlatformSpecificApplicationDelegate( | |
12 const std::string& url) { | |
13 return url == "mojo://font_service/" | |
14 ? make_scoped_ptr(new font_service::FontServiceApp) | |
15 : nullptr; | |
16 } | |
17 | |
18 } // namespace core_services | |
OLD | NEW |