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

Side by Side Diff: chrome/test/chromedriver/net/adb_client_socket.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_
6 #define CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_ 6 #define CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
10 #include "net/socket/stream_socket.h" 11 #include "net/socket/stream_socket.h"
11 12
12 class AdbClientSocket { 13 class AdbClientSocket {
13 public: 14 public:
14 typedef base::Callback<void(int, const std::string&)> CommandCallback; 15 typedef base::Callback<void(int, const std::string&)> CommandCallback;
15 typedef base::Callback<void(int result, 16 typedef base::Callback<void(int result,
16 net::StreamSocket*)> SocketCallback; 17 net::StreamSocket*)> SocketCallback;
17 18
18 static void AdbQuery(int port, 19 static void AdbQuery(int port,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int bytes_left, 73 int bytes_left,
73 int result); 74 int result);
74 75
75 std::string host_; 76 std::string host_;
76 int port_; 77 int port_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(AdbClientSocket); 79 DISALLOW_COPY_AND_ASSIGN(AdbClientSocket);
79 }; 80 };
80 81
81 #endif // CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_ 82 #endif // CHROME_TEST_CHROMEDRIVER_NET_ADB_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/logging_unittest.cc ('k') | chrome/test/chromedriver/net/adb_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698