OLD | NEW |
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 <memory> | 5 #include <memory> |
6 #include <ostream> | 6 #include <ostream> |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ptr_util.h" |
13 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
14 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
16 #include "base/test/histogram_tester.h" | 17 #include "base/test/histogram_tester.h" |
17 #include "net/base/chunked_upload_data_stream.h" | 18 #include "net/base/chunked_upload_data_stream.h" |
18 #include "net/base/test_completion_callback.h" | 19 #include "net/base/test_completion_callback.h" |
19 #include "net/base/test_proxy_delegate.h" | 20 #include "net/base/test_proxy_delegate.h" |
20 #include "net/cert/ct_policy_enforcer.h" | 21 #include "net/cert/ct_policy_enforcer.h" |
21 #include "net/cert/mock_cert_verifier.h" | 22 #include "net/cert/mock_cert_verifier.h" |
22 #include "net/cert/multi_log_ct_verifier.h" | 23 #include "net/cert/multi_log_ct_verifier.h" |
(...skipping 3412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3435 AddHangingSocketData(); | 3436 AddHangingSocketData(); |
3436 | 3437 |
3437 SendRequestAndExpectQuicResponse(origin1_); | 3438 SendRequestAndExpectQuicResponse(origin1_); |
3438 SendRequestAndExpectQuicResponse(origin2_); | 3439 SendRequestAndExpectQuicResponse(origin2_); |
3439 | 3440 |
3440 EXPECT_TRUE(AllDataConsumed()); | 3441 EXPECT_TRUE(AllDataConsumed()); |
3441 } | 3442 } |
3442 | 3443 |
3443 } // namespace test | 3444 } // namespace test |
3444 } // namespace net | 3445 } // namespace net |
OLD | NEW |