Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors |
Ken Rockot | 4f8c3c3 | 2019-08-16 16:32:33 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CONTENT_BROWSER_FONT_SERVICE_H_ |
| 6 | #define CONTENT_BROWSER_FONT_SERVICE_H_ |
| 7 | |
| 8 | #include "components/services/font/public/mojom/font_service.mojom.h" |
Ken Rockot | 4f8c3c3 | 2019-08-16 16:32:33 | [diff] [blame] | 9 | #include "mojo/public/cpp/bindings/pending_receiver.h" |
| 10 | |
| 11 | namespace content { |
| 12 | |
| 13 | // Connects |receiver| to the global in-process instance of the Font service. |
Lei Zhang | ed9be3a | 2021-11-17 22:01:18 | [diff] [blame] | 14 | void ConnectToFontService( |
Ken Rockot | 4f8c3c3 | 2019-08-16 16:32:33 | [diff] [blame] | 15 | mojo::PendingReceiver<font_service::mojom::FontService> receiver); |
| 16 | |
| 17 | } // namespace content |
| 18 | |
| 19 | #endif // CONTENT_BROWSER_FONT_SERVICE_H_ |