| 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 #ifndef EXTENSIONS_BROWSER_API_SERIAL_SERIAL_SERVICE_FACTORY_H_ |
| 6 #define EXTENSIONS_BROWSER_API_SERIAL_SERIAL_SERVICE_FACTORY_H_ |
| 7 |
| 8 #include "base/callback.h" |
| 9 #include "device/serial/serial.mojom.h" |
| 10 #include "extensions/browser/mojo/service_registration.h" |
| 11 |
| 12 namespace extensions { |
| 13 |
| 14 void BindToSerialServiceRequest( |
| 15 mojo::InterfaceRequest<device::serial::SerialService> request); |
| 16 |
| 17 void SetSerialServiceFactoryForTest(const base::Callback<void( |
| 18 mojo::InterfaceRequest<device::serial::SerialService> request)>* callback); |
| 19 |
| 20 } // namespace extensions |
| 21 |
| 22 #endif // EXTENSIONS_BROWSER_API_SERIAL_SERIAL_SERVICE_FACTORY_H_ |
| OLD | NEW |