Fix MockCommands Change-Id: I12ff7bdb6e98496a3007f07a1d31a417dc6ff1b4 Reviewed-on: https://weave-review.googlesource.com/1228 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
diff --git a/libweave/include/weave/test/mock_commands.h b/libweave/include/weave/test/mock_commands.h index 575f15b..4e2d8ce 100644 --- a/libweave/include/weave/test/mock_commands.h +++ b/libweave/include/weave/test/mock_commands.h
@@ -20,9 +20,8 @@ MOCK_METHOD1(AddOnCommandAddedCallback, void(const OnCommandCallback&)); MOCK_METHOD1(AddOnCommandRemovedCallback, void(const OnCommandCallback&)); - MOCK_METHOD4( - AddCommand, - bool(const base::DictionaryValue&, UserRole, std::string*, ErrorPtr*)); + MOCK_METHOD4(AddCommand, + bool(const base::DictionaryValue&, std::string*, ErrorPtr*)); MOCK_METHOD1(FindCommand, Command*(const std::string&)); };