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/message_loop/message_loop.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
17 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
18 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
19 #include "net/base/cache_type.h" | 20 #include "net/base/cache_type.h" |
20 #include "net/base/net_errors.h" | 21 #include "net/base/net_errors.h" |
21 #include "net/base/network_delegate_impl.h" | 22 #include "net/base/network_delegate_impl.h" |
22 #include "net/base/sdch_manager.h" | 23 #include "net/base/sdch_manager.h" |
23 #include "net/cert/cert_verifier.h" | 24 #include "net/cert/cert_verifier.h" |
24 #include "net/cert/ct_known_logs.h" | 25 #include "net/cert/ct_known_logs.h" |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 } | 519 } |
519 url_request_interceptors_.clear(); | 520 url_request_interceptors_.clear(); |
520 } | 521 } |
521 storage->set_job_factory(std::move(top_job_factory)); | 522 storage->set_job_factory(std::move(top_job_factory)); |
522 // TODO(willchan): Support sdch. | 523 // TODO(willchan): Support sdch. |
523 | 524 |
524 return std::move(context); | 525 return std::move(context); |
525 } | 526 } |
526 | 527 |
527 } // namespace net | 528 } // namespace net |
OLD | NEW |