Wade Guthrie | b1ec860 | 2012-10-18 17:26:14 -0700 | [diff] [blame] | 1 | // Copyright (c) 2012 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 | #ifndef SHILL_MOCK_CALLBACK80211_OBJECT_ |
| 6 | #define SHILL_MOCK_CALLBACK80211_OBJECT_ |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | #include "shill/callback80211_object.h" |
Wade Guthrie | b1ec860 | 2012-10-18 17:26:14 -0700 | [diff] [blame] | 11 | |
| 12 | namespace shill { |
| 13 | |
repo sync | dc085c8 | 2012-12-28 08:54:41 -0800 | [diff] [blame] | 14 | class Nl80211Message; |
Wade Guthrie | b1ec860 | 2012-10-18 17:26:14 -0700 | [diff] [blame] | 15 | |
| 16 | class MockCallback80211 : public Callback80211Object { |
| 17 | public: |
Christopher Wiley | fe34be0 | 2012-11-12 16:02:46 -0800 | [diff] [blame] | 18 | MockCallback80211() {} |
repo sync | dc085c8 | 2012-12-28 08:54:41 -0800 | [diff] [blame] | 19 | MOCK_METHOD1(Config80211MessageCallback, void(const Nl80211Message &msg)); |
Wade Guthrie | b1ec860 | 2012-10-18 17:26:14 -0700 | [diff] [blame] | 20 | |
| 21 | private: |
| 22 | DISALLOW_COPY_AND_ASSIGN(MockCallback80211); |
| 23 | }; |
| 24 | |
| 25 | } // namespace shill |
| 26 | |
| 27 | #endif // SHILL_MOCK_CALLBACK80211_OBJECT_ |