OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_NETWORK_CLIENT_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_NETWORK_CLIENT_H_ | |
7 | |
8 #include "chrome/browser/chromeos/dbus/flimflam_network_client.h" | |
9 #include "testing/gmock/include/gmock/gmock.h" | |
10 | |
11 namespace chromeos { | |
12 | |
13 class MockFlimflamNetworkClient : public FlimflamNetworkClient { | |
14 public: | |
15 MockFlimflamNetworkClient(); | |
16 virtual ~MockFlimflamNetworkClient(); | |
17 | |
18 MOCK_METHOD1(SetPropertyChangedHandler, | |
19 void(const PropertyChangedHandler& handler)); | |
20 MOCK_METHOD0(ResetPropertyChangedHandler, void()); | |
21 MOCK_METHOD1(GetProperties, void(const DictionaryValueCallback& callback)); | |
22 }; | |
23 | |
24 } // namespace chromeos | |
25 | |
26 #endif // CHROME_BROWSER_CHROMEOS_DBUS_MOCK_FLIMFLAM_NETWORK_CLIENT_H_ | |
OLD | NEW |