| 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 "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // ShillThirdPartyVpnDriverClient overrides | 26 // ShillThirdPartyVpnDriverClient overrides |
| 27 void Init(dbus::Bus* bus) override; | 27 void Init(dbus::Bus* bus) override; |
| 28 void AddShillThirdPartyVpnObserver( | 28 void AddShillThirdPartyVpnObserver( |
| 29 const std::string& object_path_value, | 29 const std::string& object_path_value, |
| 30 ShillThirdPartyVpnObserver* observer) override; | 30 ShillThirdPartyVpnObserver* observer) override; |
| 31 void RemoveShillThirdPartyVpnObserver( | 31 void RemoveShillThirdPartyVpnObserver( |
| 32 const std::string& object_path_value) override; | 32 const std::string& object_path_value) override; |
| 33 void SetParameters( | 33 void SetParameters( |
| 34 const std::string& object_path_value, | 34 const std::string& object_path_value, |
| 35 const base::DictionaryValue& parameters, | 35 const base::DictionaryValue& parameters, |
| 36 const base::Closure& callback, | 36 const ShillClientHelper::StringCallback& callback, |
| 37 const ShillClientHelper::ErrorCallback& error_callback) override; | 37 const ShillClientHelper::ErrorCallback& error_callback) override; |
| 38 void UpdateConnectionState( | 38 void UpdateConnectionState( |
| 39 const std::string& object_path_value, | 39 const std::string& object_path_value, |
| 40 const uint32_t connection_state, | 40 const uint32_t connection_state, |
| 41 const base::Closure& callback, | 41 const base::Closure& callback, |
| 42 const ShillClientHelper::ErrorCallback& error_callback) override; | 42 const ShillClientHelper::ErrorCallback& error_callback) override; |
| 43 void SendPacket( | 43 void SendPacket( |
| 44 const std::string& object_path_value, | 44 const std::string& object_path_value, |
| 45 const std::vector<char>& ip_packet, | 45 const std::vector<char>& ip_packet, |
| 46 const base::Closure& callback, | 46 const base::Closure& callback, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 57 using ObserverMap = std::map<std::string, ShillThirdPartyVpnObserver*>; | 57 using ObserverMap = std::map<std::string, ShillThirdPartyVpnObserver*>; |
| 58 | 58 |
| 59 ObserverMap observer_map_; | 59 ObserverMap observer_map_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(FakeShillThirdPartyVpnDriverClient); | 61 DISALLOW_COPY_AND_ASSIGN(FakeShillThirdPartyVpnDriverClient); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace chromeos | 64 } // namespace chromeos |
| 65 | 65 |
| 66 #endif // CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ | 66 #endif // CHROMEOS_DBUS_FAKE_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ |
| OLD | NEW |