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

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

Issue 16703005: Use a direct include of strings headers in chrome/browser/d*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/devtools/browser_list_tabcontents_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/devtools/adb_client_socket.h" 5 #include "chrome/browser/devtools/adb_client_socket.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string_util.h"
10 #include "base/stringprintf.h"
11 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h"
12 #include "net/base/address_list.h" 12 #include "net/base/address_list.h"
13 #include "net/base/completion_callback.h" 13 #include "net/base/completion_callback.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
16 #include "net/socket/tcp_client_socket.h" 16 #include "net/socket/tcp_client_socket.h"
17 17
18 namespace { 18 namespace {
19 19
20 const int kBufferSize = 16 * 1024; 20 const int kBufferSize = 16 * 1024;
21 const int kResponseBufferSize = 16; 21 const int kResponseBufferSize = 16;
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 base::Unretained(this), 481 base::Unretained(this),
482 callback, 482 callback,
483 new_response, 483 new_response,
484 response_buffer, 484 response_buffer,
485 bytes_left)); 485 bytes_left));
486 if (result > 0) 486 if (result > 0)
487 OnResponseData(callback, new_response, response_buffer, bytes_left, result); 487 OnResponseData(callback, new_response, response_buffer, bytes_left, result);
488 else if (result != net::ERR_IO_PENDING) 488 else if (result != net::ERR_IO_PENDING)
489 callback.Run(net::OK, new_response); 489 callback.Run(net::OK, new_response);
490 } 490 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/browser_list_tabcontents_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698