| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
| 11 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h" | 12 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 // A fake implementation of ShillThirdPartyVpnDriverClient. | 16 // A fake implementation of ShillThirdPartyVpnDriverClient. |
| 16 // The client can generate fake DBus signals when | 17 // The client can generate fake DBus signals when |
| 17 // ShillThirdPartyVpnDriverClient::TestInterface methods are called. The | 18 // ShillThirdPartyVpnDriverClient::TestInterface methods are called. The |
| 18 // DBus methods are nops that only acknowledge the caller. | 19 // DBus methods are nops that only acknowledge the caller. |
| 19 class CHROMEOS_EXPORT FakeShillThirdPartyVpnDriverClient | 20 class CHROMEOS_EXPORT FakeShillThirdPartyVpnDriverClient |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 using ObserverMap = std::map<std::string, ShillThirdPartyVpnObserver*>; | 58 using ObserverMap = std::map<std::string, ShillThirdPartyVpnObserver*>; |
| 58 | 59 |
| 59 ObserverMap observer_map_; | 60 ObserverMap observer_map_; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(FakeShillThirdPartyVpnDriverClient); | 62 DISALLOW_COPY_AND_ASSIGN(FakeShillThirdPartyVpnDriverClient); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace chromeos | 65 } // namespace chromeos |
| 65 | 66 |
| 66 #endif // CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ | 67 #endif // CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ |
| OLD | NEW |