Index: chromeos/dbus/shill_third_party_vpn_driver_client.h |
diff --git a/chromeos/dbus/shill_third_party_vpn_driver_client.h b/chromeos/dbus/shill_third_party_vpn_driver_client.h |
index c0c790d2ad1a337129f0fdcb1bc2d99da8b937df..ac4738c3b3183bc08d6d72b388c980317dc9fba6 100644 |
--- a/chromeos/dbus/shill_third_party_vpn_driver_client.h |
+++ b/chromeos/dbus/shill_third_party_vpn_driver_client.h |
@@ -6,6 +6,8 @@ |
#define CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_DRIVER_CLIENT_H_ |
#include <stdint.h> |
+#include <string> |
+#include <vector> |
#include "base/callback.h" |
#include "chromeos/chromeos_export.h" |
@@ -25,7 +27,7 @@ class CHROMEOS_EXPORT ShillThirdPartyVpnDriverClient : public DBusClient { |
class TestInterface { |
public: |
virtual void OnPacketReceived(const std::string& object_path_value, |
- const std::string& packet) = 0; |
+ const std::vector<char>& packet) = 0; |
virtual void OnPlatformMessage(const std::string& object_path_value, |
uint32_t message) = 0; |
@@ -69,7 +71,7 @@ class CHROMEOS_EXPORT ShillThirdPartyVpnDriverClient : public DBusClient { |
// |callback| is called after the method call succeeds. |
virtual void SendPacket( |
const std::string& object_path_value, |
- const std::string& ip_packet, |
+ const std::vector<char>& ip_packet, |
const base::Closure& callback, |
const ShillClientHelper::ErrorCallback& error_callback) = 0; |