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

Side by Side Diff: net/test/test_server.cc

Issue 6341004: More net/ reordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window gyp dependency Created 9 years, 11 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 | « net/test/test_server.h ('k') | net/tools/dump_cache/upgrade.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "net/test/test_server.h" 5 #include "net/test/test_server.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "base/file_util.h" 21 #include "base/file_util.h"
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/path_service.h" 23 #include "base/path_service.h"
24 #include "base/scoped_ptr.h" 24 #include "base/scoped_ptr.h"
25 #include "base/string_number_conversions.h" 25 #include "base/string_number_conversions.h"
26 #include "base/utf_string_conversions.h" 26 #include "base/utf_string_conversions.h"
27 #include "base/values.h" 27 #include "base/values.h"
28 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
29 #include "net/base/host_port_pair.h" 29 #include "net/base/host_port_pair.h"
30 #include "net/base/host_resolver.h" 30 #include "net/base/host_resolver.h"
31 #include "net/base/net_errors.h"
31 #include "net/base/test_completion_callback.h" 32 #include "net/base/test_completion_callback.h"
32 #include "net/base/test_root_certs.h" 33 #include "net/base/test_root_certs.h"
33 #include "net/socket/tcp_client_socket.h" 34 #include "net/socket/tcp_client_socket.h"
34 #include "net/test/python_utils.h" 35 #include "net/test/python_utils.h"
35 #include "testing/platform_test.h" 36 #include "testing/platform_test.h"
36 37
37 namespace net { 38 namespace net {
38 39
39 namespace { 40 namespace {
40 41
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 383 }
383 if ((port <= 0) || (port > kuint16max)) { 384 if ((port <= 0) || (port > kuint16max)) {
384 LOG(ERROR) << "Invalid port value: " << port; 385 LOG(ERROR) << "Invalid port value: " << port;
385 return false; 386 return false;
386 } 387 }
387 host_port_pair_.set_port(port); 388 host_port_pair_.set_port(port);
388 return true; 389 return true;
389 } 390 }
390 391
391 } // namespace net 392 } // namespace net
OLDNEW
« no previous file with comments | « net/test/test_server.h ('k') | net/tools/dump_cache/upgrade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698