// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_CERT_NET_CERT_NET_FETCHER_URL_REQUEST_H_ #define NET_CERT_NET_CERT_NET_FETCHER_URL_REQUEST_H_ #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #include "net/base/net_export.h" #include "net/cert/cert_net_fetcher.h" namespace base { class SingleThreadTaskRunner; } namespace net { class URLRequestContext; // A CertNetFetcher that issues requests through the provided // URLRequestContext. The URLRequestContext must stay valid until the returned // CertNetFetcher's Shutdown method is called. The CertNetFetcher is to be // created and shutdown on the network thread. Its Fetch methods are to be used // on a *different* thread, since it gives a blocking interface to URL fetching. class NET_EXPORT CertNetFetcherURLRequest : public CertNetFetcher { … }; } // namespace net #endif // NET_CERT_NET_CERT_NET_FETCHER_URL_REQUEST_H_