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 "net/url_request/url_request_context_builder.h" | 5 #include "net/url_request/url_request_context_builder.h" |
6 | 6 |
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/logging.h" | 12 #include "base/logging.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/thread_task_runner_handle.h" | |
18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" |
19 #include "net/base/cache_type.h" | 19 #include "net/base/cache_type.h" |
20 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
21 #include "net/base/network_delegate_impl.h" | 21 #include "net/base/network_delegate_impl.h" |
22 #include "net/base/sdch_manager.h" | 22 #include "net/base/sdch_manager.h" |
23 #include "net/cert/cert_verifier.h" | 23 #include "net/cert/cert_verifier.h" |
24 #include "net/cookies/cookie_monster.h" | 24 #include "net/cookies/cookie_monster.h" |
25 #include "net/dns/host_resolver.h" | 25 #include "net/dns/host_resolver.h" |
26 #include "net/http/http_auth_handler_factory.h" | 26 #include "net/http/http_auth_handler_factory.h" |
27 #include "net/http/http_cache.h" | 27 #include "net/http/http_cache.h" |
28 #include "net/http/http_network_layer.h" | 28 #include "net/http/http_network_layer.h" |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 } | 515 } |
516 url_request_interceptors_.clear(); | 516 url_request_interceptors_.clear(); |
517 } | 517 } |
518 storage->set_job_factory(std::move(top_job_factory)); | 518 storage->set_job_factory(std::move(top_job_factory)); |
519 // TODO(willchan): Support sdch. | 519 // TODO(willchan): Support sdch. |
520 | 520 |
521 return std::move(context); | 521 return std::move(context); |
522 } | 522 } |
523 | 523 |
524 } // namespace net | 524 } // namespace net |
OLD | NEW |