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