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

Side by Side Diff: net/cert_net/cert_net_fetcher_impl.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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/android/http_auth_negotiate_android.cc ('k') | net/log/file_net_log_observer.cc » ('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 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 // Overview 5 // Overview
6 // 6 //
7 // The main entry point is CertNetFetcherImpl. This is an implementation of 7 // The main entry point is CertNetFetcherImpl. This is an implementation of
8 // CertNetFetcher that provides a service for fetching network requests. 8 // CertNetFetcher that provides a service for fetching network requests.
9 // 9 //
10 // The interface for CertNetFetcher is synchronous, however allows 10 // The interface for CertNetFetcher is synchronous, however allows
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "net/cert_net/cert_net_fetcher_impl.h" 59 #include "net/cert_net/cert_net_fetcher_impl.h"
60 60
61 #include <tuple> 61 #include <tuple>
62 #include <utility> 62 #include <utility>
63 63
64 #include "base/callback_helpers.h" 64 #include "base/callback_helpers.h"
65 #include "base/logging.h" 65 #include "base/logging.h"
66 #include "base/macros.h" 66 #include "base/macros.h"
67 #include "base/memory/ptr_util.h" 67 #include "base/memory/ptr_util.h"
68 #include "base/numerics/safe_math.h" 68 #include "base/numerics/safe_math.h"
69 #include "base/single_thread_task_runner.h"
69 #include "base/synchronization/waitable_event.h" 70 #include "base/synchronization/waitable_event.h"
70 #include "base/threading/thread_task_runner_handle.h" 71 #include "base/threading/thread_task_runner_handle.h"
71 #include "base/timer/timer.h" 72 #include "base/timer/timer.h"
72 #include "net/base/load_flags.h" 73 #include "net/base/load_flags.h"
73 #include "net/cert/cert_net_fetcher.h" 74 #include "net/cert/cert_net_fetcher.h"
74 #include "net/url_request/redirect_info.h" 75 #include "net/url_request/redirect_info.h"
75 #include "net/url_request/url_request_context.h" 76 #include "net/url_request/url_request_context.h"
76 77
77 // TODO(eroman): Add support for POST parameters. 78 // TODO(eroman): Add support for POST parameters.
78 // TODO(eroman): Add controls for bypassing the cache. 79 // TODO(eroman): Add controls for bypassing the cache.
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 std::unique_ptr<AsyncCertNetFetcherImpl> impl_; 785 std::unique_ptr<AsyncCertNetFetcherImpl> impl_;
785 }; 786 };
786 787
787 } // namespace 788 } // namespace
788 789
789 scoped_refptr<CertNetFetcher> CreateCertNetFetcher(URLRequestContext* context) { 790 scoped_refptr<CertNetFetcher> CreateCertNetFetcher(URLRequestContext* context) {
790 return make_scoped_refptr(new CertNetFetcherImpl(context)); 791 return make_scoped_refptr(new CertNetFetcherImpl(context));
791 } 792 }
792 793
793 } // namespace net 794 } // namespace net
OLDNEW
« no previous file with comments | « net/android/http_auth_negotiate_android.cc ('k') | net/log/file_net_log_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698