[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / android / common / adb_connection.h
blob3fa0fb396f541c3a0cc2b77cf24060c0fa0d8def
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef TOOLS_ANDROID_COMMON_ADB_CONNECTION_H_
6 #define TOOLS_ANDROID_COMMON_ADB_CONNECTION_H_
8 namespace tools {
10 // Creates a socket that can forward to a host socket through ADB.
11 // The format of forward_to is <port>:<ip_address>.
12 // Returns the socket handle, or -1 on any error.
13 int ConnectAdbHostSocket(const char* forward_to);
15 } // namespace tools
17 #endif // TOOLS_ANDROID_COMMON_ADB_CONNECTION_H_