OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/cert_net/cert_net_fetcher_impl.h" | 5 #include "net/cert_net/cert_net_fetcher_impl.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
14 #include "net/cert/cert_net_fetcher.h" | 15 #include "net/cert/cert_net_fetcher.h" |
15 #include "net/cert/ct_policy_enforcer.h" | 16 #include "net/cert/ct_policy_enforcer.h" |
16 #include "net/cert/mock_cert_verifier.h" | 17 #include "net/cert/mock_cert_verifier.h" |
17 #include "net/cert/multi_log_ct_verifier.h" | 18 #include "net/cert/multi_log_ct_verifier.h" |
18 #include "net/dns/mock_host_resolver.h" | 19 #include "net/dns/mock_host_resolver.h" |
19 #include "net/http/http_server_properties_impl.h" | 20 #include "net/http/http_server_properties_impl.h" |
20 #include "net/test/embedded_test_server/embedded_test_server.h" | 21 #include "net/test/embedded_test_server/embedded_test_server.h" |
21 #include "net/test/gtest_util.h" | 22 #include "net/test/gtest_util.h" |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 std::unique_ptr<CertNetFetcher::Request> request = | 630 std::unique_ptr<CertNetFetcher::Request> request = |
630 StartRequest(fetcher(), url); | 631 StartRequest(fetcher(), url); |
631 | 632 |
632 ShutDownFetcher(); | 633 ShutDownFetcher(); |
633 VerifyFailure(ERR_ABORTED, request.get()); | 634 VerifyFailure(ERR_ABORTED, request.get()); |
634 } | 635 } |
635 | 636 |
636 } // namespace | 637 } // namespace |
637 | 638 |
638 } // namespace net | 639 } // namespace net |
OLD | NEW |