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

Unified Diff: tools/android/common/net.h

Issue 9419020: fake_dns tool for Android (fixed DEPS). (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Try to remove references of fake_dns.gyp from all_android.gyp Created 8 years, 10 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/adb_connection.cc ('k') | tools/android/common/net.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/common/net.h
diff --git a/tools/android/common/net.h b/tools/android/common/net.h
index d17b6f43e8bde07dee4965b02b5dd89ce2510b5c..091f3626009679674f5bb7d25fb9950dd07d622b 100644
--- a/tools/android/common/net.h
+++ b/tools/android/common/net.h
@@ -6,6 +6,8 @@
#define TOOLS_ANDROID_COMMON_NET_H_
#pragma once
+#include <string>
+
namespace tools {
// DisableNagle can improve TCP transmission performance. Both Chrome net stack
@@ -15,6 +17,9 @@ int DisableNagle(int socket);
// Wake up listener only when data arrive.
int DeferAccept(int socket);
+// Dumps a binary buffer into a string in a human-readable format.
+std::string DumpBinary(const char* buffer, size_t length);
+
} // namespace tools
#endif // TOOLS_ANDROID_COMMON_NET_H_
« no previous file with comments | « tools/android/common/adb_connection.cc ('k') | tools/android/common/net.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698