commit | 0ecc4020d600fc5c0a9c4585fb651a7dad178ea1 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 22 13:41:55 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 25 13:49:25 2019 -0800 |
tree | ce2b39e94c4ed54887009d8bfceb3370d509f2c5 | |
parent | 769f853f965d3758af83659acaeefb0b2c91373b [diff] [blame] |
adb: switch host_service_to_socket to string_view. Test: manual Change-Id: I09b83cc82edb10c1a51ecc5ebb8d9fe5294222c3
diff --git a/adb/adb.h b/adb/adb.h index 89d7663..f575adb 100644 --- a/adb/adb.h +++ b/adb/adb.h
@@ -145,7 +145,8 @@ #endif #if ADB_HOST -asocket* host_service_to_socket(const char* name, const char* serial, TransportId transport_id); +asocket* host_service_to_socket(std::string_view name, std::string_view serial, + TransportId transport_id); #endif #if !ADB_HOST