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

Unified Diff: tools/android/common/adb_connection.cc

Issue 677483004: Add GN rules for forwarder2 and chromium_commands (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: configurate dex path, add dist for forwarder Created 6 years, 2 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
« no previous file with comments | « tools/android/common/BUILD.gn ('k') | tools/android/common/common.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/common/adb_connection.cc
diff --git a/tools/android/common/adb_connection.cc b/tools/android/common/adb_connection.cc
index 9985a3a711e014d5a0fbe63dd87a98aee7bfe5dd..3d62435ec58fee782671a69f441a6c435b3501b3 100644
--- a/tools/android/common/adb_connection.cc
+++ b/tools/android/common/adb_connection.cc
@@ -34,7 +34,6 @@ int ConnectAdbHostSocket(const char* forward_to) {
// HHHH is the hexidecimal length of the "tcp:port:address" part.
const size_t kBufferMaxLength = 30;
const size_t kLengthOfLength = 4;
- const size_t kAddressMaxLength = kBufferMaxLength - kLengthOfLength;
const char kAddressPrefix[] = { 't', 'c', 'p', ':' };
size_t address_length = arraysize(kAddressPrefix) + strlen(forward_to);
« no previous file with comments | « tools/android/common/BUILD.gn ('k') | tools/android/common/common.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698