aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-02-20 19:30:59 -0800
committerJosh Gao <jmgao@google.com>2019-02-25 13:49:25 -0800
commitcd30bb31f1c251d1a6b4b16244b26b8689dfe4eb (patch)
treebea373e280d09fbe4d0efd494a87206a382195ed /adb.h
parent2f1cac23b68f53d5f69d39dc954f9ece56660ee9 (diff)
downloadadb-cd30bb31f1c251d1a6b4b16244b26b8689dfe4eb.tar.gz
adb: switch handle_host_request to string_view.
Test: test_adb.py Test: test_device.py Change-Id: Ideae5262a6dff2e27c50f666144d48f874837290
Diffstat (limited to 'adb.h')
-rw-r--r--adb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb.h b/adb.h
index 3a8cb7b1..89d7663b 100644
--- a/adb.h
+++ b/adb.h
@@ -218,7 +218,7 @@ extern const char* adb_device_banner;
#define USB_FFS_ADB_IN USB_FFS_ADB_EP(ep2)
#endif
-bool handle_host_request(const char* service, TransportType type, const char* serial,
+bool handle_host_request(std::string_view service, TransportType type, const char* serial,
TransportId transport_id, int reply_fd, asocket* s);
void handle_online(atransport* t);