diff options
author | Josh Gao <jmgao@google.com> | 2018-02-01 13:17:50 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-02-06 12:59:06 -0800 |
commit | a7d9d71e8c66bd19cb908b48b5dac31c9587dd31 (patch) | |
tree | dc72b7032b6e0923b6201273caaf64a5557410f3 /adb.h | |
parent | b14756a7754dbb46d6f7d0a7814b0bcc61741e67 (diff) | |
download | adb-a7d9d71e8c66bd19cb908b48b5dac31c9587dd31.tar.gz |
adb: switch asocket::enqueue to std::string.
Switch asocket over to taking a std::string instead of apacket* for
data. This allows us to remove asocket specific fields from apacket*.
Test: python test_device.py with x86_64 emulator, walleye
Test: adb_test on host
Change-Id: I9d157ff331a75ba49a54fdd4194e3f6cdff722f4
Diffstat (limited to 'adb.h')
-rw-r--r-- | adb.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -73,11 +73,6 @@ struct amessage { }; struct apacket { - apacket* next; - - size_t len; - char* ptr; - amessage msg; char data[MAX_PAYLOAD]; }; |