commit | c4c67afbba188e9c451474a8d8d2c6b40a623256 | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Fri Oct 02 01:08:12 2015 -0700 |
committer | Vitaly Buka <vitalybuka@google.com> | Fri Oct 02 21:03:31 2015 +0000 |
tree | ef69da7441d0bf941981f43e1f2d9ae404287971 | |
parent | 4c9813538df567f07a479e638b78d80b194c6db7 [diff] [blame] |
Hide UserRole from public interface All commands added using API executed as Owner's commands. BUG:24267885 Change-Id: I296e9503cac07d84664941278ffb56f79f695fb0 Reviewed-on: https://weave-review.googlesource.com/1225 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
diff --git a/libweave/src/commands/command_definition.h b/libweave/src/commands/command_definition.h index 06d7afd..a6a17f8 100644 --- a/libweave/src/commands/command_definition.h +++ b/libweave/src/commands/command_definition.h
@@ -15,6 +15,13 @@ namespace weave { +enum class UserRole { + kViewer, + kUser, + kManager, + kOwner, +}; + // A simple GCD command definition. This class contains the command category // and a full object schema describing the command parameter types and // constraints. See comments for CommandDefinitions::LoadCommands for the