| // Copyright 2016 The Weave Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef LIBWEAVE_SRC_MOCK_BLACK_LIST_MANAGER_H_ |
| #define LIBWEAVE_SRC_MOCK_BLACK_LIST_MANAGER_H_ |
| #include "src/access_black_list_manager.h" |
| class MockAccessBlackListManager : public AccessBlackListManager { |
| MOCK_METHOD1(AddEntryAddedCallback, void(const base::Closure&)); |
| void(const std::vector<uint8_t>&, |
| const std::vector<uint8_t>&, |
| void(const std::vector<uint8_t>&, |
| const std::vector<uint8_t>&, |
| MOCK_CONST_METHOD2(IsBlocked, |
| bool(const std::vector<uint8_t>&, |
| const std::vector<uint8_t>&)); |
| MOCK_CONST_METHOD0(GetEntries, std::vector<Entry>()); |
| MOCK_CONST_METHOD0(GetSize, size_t()); |
| MOCK_CONST_METHOD0(GetCapacity, size_t()); |
| #endif // LIBWEAVE_SRC_MOCK_BLACK_LIST_MANAGER_H_ |