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

Unified Diff: chrome/test/chromedriver/net/adb_client_socket.h

Issue 2972913002: [Chromedriver] Support long command line on Android (Closed)
Patch Set: Created 3 years, 5 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: chrome/test/chromedriver/net/adb_client_socket.h
diff --git a/chrome/test/chromedriver/net/adb_client_socket.h b/chrome/test/chromedriver/net/adb_client_socket.h
index 183f0f8ebd0baee19e1a4c69551718eaf0f20c43..2430d98f1393b1a23707b5be83fc79d99e712320 100644
--- a/chrome/test/chromedriver/net/adb_client_socket.h
+++ b/chrome/test/chromedriver/net/adb_client_socket.h
@@ -37,6 +37,12 @@ class AdbClientSocket {
const std::string& request,
const SocketCallback& callback);
+ static void SendFile(int port,
+ const std::string& serial,
+ const std::string& filename,
+ const std::string& content,
+ const CommandCallback& callback);
+
explicit AdbClientSocket(int port);
~AdbClientSocket();
@@ -50,12 +56,12 @@ class AdbClientSocket {
std::unique_ptr<net::StreamSocket> socket_;
- private:
void ReadResponse(const CommandCallback& callback,
bool is_void,
bool has_length,
int result);
+ private:
void OnResponseStatus(const CommandCallback& callback,
bool is_void,
bool has_length,

Powered by Google App Engine
This is Rietveld 408576698