summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
diff options
context:
space:
mode:
authorkaliamoorthi <kaliamoorthi@chromium.org>2014-11-28 10:52:52 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-28 18:53:14 +0000
commitc6ee48e0fb82f8fef06a2e0e9cd107a077eafc7e (patch)
tree81394b28b9217a31d535e4930486eafb30370d82 /chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
parentc282ba091614064fc5b7d923c1eeb04e6f4d88bc (diff)
downloadchromium_src-c6ee48e0fb82f8fef06a2e0e9cd107a077eafc7e.zip
chromium_src-c6ee48e0fb82f8fef06a2e0e9cd107a077eafc7e.tar.gz
chromium_src-c6ee48e0fb82f8fef06a2e0e9cd107a077eafc7e.tar.bz2
Cleanup VpnServices interface with shill client
This CL replaces an argument from brittle pointer and length to a string. TBR=stevenjb@chromium.org BUG=407541 Review URL: https://codereview.chromium.org/768723003 Cr-Commit-Position: refs/heads/master@{#306106}
Diffstat (limited to 'chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc')
-rw-r--r--chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc b/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
index e8d370b..8be3db3 100644
--- a/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
+++ b/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
@@ -72,8 +72,7 @@ void FakeShillThirdPartyVpnDriverClient::OnPacketReceived(
return;
}
- it->second->OnPacketReceived(reinterpret_cast<const uint8_t*>(packet.data()),
- packet.length());
+ it->second->OnPacketReceived(packet);
}
void FakeShillThirdPartyVpnDriverClient::OnPlatformMessage(