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

Side by Side Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 1230313005: split port_util.h off of net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove garbage that got added Created 5 years, 5 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
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/net.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 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 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/http/http_stream_factory_impl.h" 5 #include "net/http/http_stream_factory_impl.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "net/base/port_util.h"
12 #include "net/base/test_completion_callback.h" 13 #include "net/base/test_completion_callback.h"
13 #include "net/cert/mock_cert_verifier.h" 14 #include "net/cert/mock_cert_verifier.h"
14 #include "net/dns/mock_host_resolver.h" 15 #include "net/dns/mock_host_resolver.h"
15 #include "net/http/http_auth_handler_factory.h" 16 #include "net/http/http_auth_handler_factory.h"
16 #include "net/http/http_network_session.h" 17 #include "net/http/http_network_session.h"
17 #include "net/http/http_network_session_peer.h" 18 #include "net/http/http_network_session_peer.h"
18 #include "net/http/http_network_transaction.h" 19 #include "net/http/http_network_transaction.h"
19 #include "net/http/http_request_info.h" 20 #include "net/http/http_request_info.h"
20 #include "net/http/http_server_properties.h" 21 #include "net/http/http_server_properties.h"
21 #include "net/http/http_server_properties_impl.h" 22 #include "net/http/http_server_properties_impl.h"
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); 1412 EXPECT_TRUE(waiter.used_proxy_info().is_direct());
1412 1413
1413 // Make sure there is no orphaned job. it is already canceled. 1414 // Make sure there is no orphaned job. it is already canceled.
1414 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( 1415 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>(
1415 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); 1416 session->http_stream_factory_for_websocket())->num_orphaned_jobs());
1416 } 1417 }
1417 1418
1418 } // namespace 1419 } // namespace
1419 1420
1420 } // namespace net 1421 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698