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

Side by Side Diff: chrome/browser/devtools/device/adb/adb_client_socket.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/devtools/device/adb/adb_client_socket.h" 5 #include "chrome/browser/devtools/device/adb/adb_client_socket.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
11 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
13 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
14 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
15 #include "net/socket/tcp_client_socket.h" 17 #include "net/socket/tcp_client_socket.h"
16 18
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 base::Unretained(this), 291 base::Unretained(this),
290 callback, 292 callback,
291 new_response, 293 new_response,
292 response_buffer, 294 response_buffer,
293 bytes_left)); 295 bytes_left));
294 if (result > 0) 296 if (result > 0)
295 OnResponseData(callback, new_response, response_buffer, bytes_left, result); 297 OnResponseData(callback, new_response, response_buffer, bytes_left, result);
296 else if (result != net::ERR_IO_PENDING) 298 else if (result != net::ERR_IO_PENDING)
297 callback.Run(net::OK, new_response); 299 callback.Run(net::OK, new_response);
298 } 300 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/adb/adb_client_socket.h ('k') | chrome/browser/devtools/device/adb/mock_adb_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698