// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef HEADLESS_PUBLIC_NETWORK_H_ #define HEADLESS_PUBLIC_NETWORK_H_ #include #include #include namespace net { class URLRequestContextGetter; class ClientSocketFactory; class HttpTransactionFactory; } namespace headless { class Network { public: static scoped_refptr CreateURLRequestContextGetterUsingSocketFactory( scoped_ptr socket_factory); static scoped_refptr CreateURLRequestContextGetterUsingHttpTransactionFactory( scoped_ptr http_transaction_factory); private: Network() = delete; }; } // namespace headless #endif // HEADLESS_PUBLIC_NETWORK_H_