blob: 873bb1a4ba1021a9a4ad3d995fb4a929fd31cb7a [file] [log] [blame]
Andrew Moylanff6be512018-07-03 11:05:01 +10001// 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
9namespace ml {
10
11MachineLearningServiceImpl::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 Moylane465a592018-08-01 16:13:50 +100017void MachineLearningServiceImpl::LoadModel(
18 chromeos::machine_learning::mojom::ModelSpecPtr spec,
19 chromeos::machine_learning::mojom::ModelRequest request) {
Andrew Moylanff6be512018-07-03 11:05:01 +100020 NOTIMPLEMENTED();
21}
22
23} // namespace ml