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

Unified Diff: chromeos/dbus/shill_third_party_vpn_observer.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_observer.h
diff --git a/chromeos/dbus/shill_third_party_vpn_observer.h b/chromeos/dbus/shill_third_party_vpn_observer.h
index a01eb974643e9f1b854a876ef9bfa6c3852734e6..0a85eb8f26e2094d0fb554ac61c89af59d2acfdf 100644
--- a/chromeos/dbus/shill_third_party_vpn_observer.h
+++ b/chromeos/dbus/shill_third_party_vpn_observer.h
@@ -6,7 +6,7 @@
#define CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_OBSERVER_H_
#include <stdint.h>
-#include <string>
+#include <vector>
namespace chromeos {
@@ -14,7 +14,7 @@ namespace chromeos {
// ThirdPartyVpnAdaptor in Shill.
class ShillThirdPartyVpnObserver {
public:
- virtual void OnPacketReceived(const std::string& data) = 0;
+ virtual void OnPacketReceived(const std::vector<char>& data) = 0;
virtual void OnPlatformMessage(uint32_t message) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698