OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef HEADLESS_PUBLIC_NETWORK_H_ |
| 6 #define HEADLESS_PUBLIC_NETWORK_H_ |
| 7 |
| 8 #include <base/memory/scoped_ptr.h> |
| 9 #include <base/memory/ref_counted.h> |
| 10 |
| 11 namespace net { |
| 12 class URLRequestContextGetter; |
| 13 class ClientSocketFactory; |
| 14 class HttpTransactionFactory; |
| 15 } |
| 16 |
| 17 namespace headless { |
| 18 |
| 19 scoped_refptr<net::URLRequestContextGetter> |
| 20 CreateURLRequestContextGetterUsingSocketFactory( |
| 21 scoped_ptr<net::ClientSocketFactory> socket_factory); |
| 22 |
| 23 scoped_refptr<net::URLRequestContextGetter> |
| 24 CreateURLRequestContextGetterUsingHttpTransactionFactory( |
| 25 scoped_ptr<net::HttpTransactionFactory> http_transaction_factory); |
| 26 |
| 27 } // namespace headless |
| 28 |
| 29 #endif // HEADLESS_PUBLIC_NETWORK_H_ |
OLD | NEW |