Alex Vakulenko | 7c36b67 | 2014-07-16 14:50:58 -0700 | [diff] [blame] | 1 | // 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 | |
| 7 | namespace buffet { |
| 8 | |
| 9 | CommandDefinition::CommandDefinition( |
| 10 | const std::string& category, |
Alex Vakulenko | 5ef7579 | 2015-03-19 15:50:44 -0700 | [diff] [blame] | 11 | 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 Vakulenko | 7c36b67 | 2014-07-16 14:50:58 -0700 | [diff] [blame] | 16 | |
| 17 | } // namespace buffet |