blob: c5854c2ed3cdd719ec0db6034d6ff127b25c51ec [file] [log] [blame]
Alex Vakulenko7c36b672014-07-16 14:50:58 -07001// Copyright 2014 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 "buffet/commands/command_definition.h"
6
7namespace buffet {
8
9CommandDefinition::CommandDefinition(
10 const std::string& category,
Alex Vakulenko5ef75792015-03-19 15:50:44 -070011 std::unique_ptr<const ObjectSchema> parameters,
12 std::unique_ptr<const ObjectSchema> results)
13 : category_{category},
14 parameters_{std::move(parameters)},
15 results_{std::move(results)} {}
Alex Vakulenko7c36b672014-07-16 14:50:58 -070016
17} // namespace buffet