Andrew Moylan | ff6be51 | 2018-07-03 11:05:01 +1000 | [diff] [blame] | 1 | // Copyright 2018 The Chromium OS 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 "ml/machine_learning_service_impl.h" |
| 6 | |
| 7 | #include <utility> |
| 8 | |
| 9 | namespace ml { |
| 10 | |
| 11 | MachineLearningServiceImpl::MachineLearningServiceImpl( |
| 12 | mojo::ScopedMessagePipeHandle pipe, base::Closure connection_error_handler) |
| 13 | : binding_(this, std::move(pipe)) { |
| 14 | binding_.set_connection_error_handler(std::move(connection_error_handler)); |
| 15 | } |
| 16 | |
Andrew Moylan | e465a59 | 2018-08-01 16:13:50 +1000 | [diff] [blame] | 17 | void MachineLearningServiceImpl::LoadModel( |
| 18 | chromeos::machine_learning::mojom::ModelSpecPtr spec, |
| 19 | chromeos::machine_learning::mojom::ModelRequest request) { |
Andrew Moylan | ff6be51 | 2018-07-03 11:05:01 +1000 | [diff] [blame] | 20 | NOTIMPLEMENTED(); |
| 21 | } |
| 22 | |
| 23 | } // namespace ml |