Ken Rockot | 89a36c0 | 2019-08-08 02:19:56 | [diff] [blame] | 1 | // Copyright 2019 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 | #ifndef CHROME_BROWSER_PRINTING_PRINTING_SERVICE_H_ |
| 6 | #define CHROME_BROWSER_PRINTING_PRINTING_SERVICE_H_ |
| 7 | |
| 8 | #include "chrome/services/printing/public/mojom/printing_service.mojom.h" |
| 9 | #include "mojo/public/cpp/bindings/remote.h" |
| 10 | |
| 11 | // Acquires a remote handle to the sandboxed Printing Service |
| 12 | // instance, launching a process to host the service if necessary. |
| 13 | const mojo::Remote<printing::mojom::PrintingService>& GetPrintingService(); |
| 14 | |
| 15 | #endif // CHROME_BROWSER_PRINTING_PRINTING_SERVICE_H_ |