Commit 19bc99a5 authored by Andrew Moylan's avatar Andrew Moylan Committed by Commit Bot

Update one remaining & to pending_receiver

This one part somehow escaped getting upgraded to the new Mojo names.

Bug: None
Test: Build
Change-Id: Icb4cc5a4c65429a026866e847288a92d0542dc69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015900
Commit-Queue: Andrew Moylan <amoylan@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
Auto-Submit: Andrew Moylan <amoylan@chromium.org>
Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734222}
parent 1e7ea1ef
......@@ -29,10 +29,11 @@ enum LoadModelResult {
interface MachineLearningService {
// The BuiltinModelId inside BuiltinModelSpec is used to specify the model to
// be loaded.
LoadBuiltinModel(BuiltinModelSpec spec, Model& request)
LoadBuiltinModel(BuiltinModelSpec spec, pending_receiver<Model> receiver)
=> (LoadModelResult result);
// The FlatbufferModelSpec contains both of the flatbuffer content and the
// metadata.
LoadFlatBufferModel(FlatBufferModelSpec spec, Model& request)
LoadFlatBufferModel(FlatBufferModelSpec spec,
pending_receiver<Model> receiver)
=> (LoadModelResult result);
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment