Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: chromeos/dbus/shill_third_party_vpn_driver_client.h

Issue 820673004: json_schema_compiler: Use std::vector<char> for binary values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_json_schema
Patch Set: Fix merge error. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc ('k') | chromeos/dbus/shill_third_party_vpn_driver_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698