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

Unified Diff: headless/public/network.h

Issue 1674263002: headless: Initial headless embedder API implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fine, no console logging Mr. Presubmit. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/public/headless_web_contents.h ('k') | headless/public/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/network.h
diff --git a/headless/public/network.h b/headless/public/network.h
deleted file mode 100644
index efede2becf0e9802163f440c32d3511ac978741c..0000000000000000000000000000000000000000
--- a/headless/public/network.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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 <base/macros.h>
-#include <base/memory/ref_counted.h>
-#include <base/memory/scoped_ptr.h>
-
-namespace net {
-class URLRequestContextGetter;
-class ClientSocketFactory;
-class HttpTransactionFactory;
-}
-
-namespace headless {
-
-class Network {
- public:
- static scoped_refptr<net::URLRequestContextGetter>
- CreateURLRequestContextGetterUsingSocketFactory(
- scoped_ptr<net::ClientSocketFactory> socket_factory);
-
- static scoped_refptr<net::URLRequestContextGetter>
- CreateURLRequestContextGetterUsingHttpTransactionFactory(
- scoped_ptr<net::HttpTransactionFactory> http_transaction_factory);
-
- private:
- Network() = delete;
-};
-
-} // namespace headless
-
-#endif // HEADLESS_PUBLIC_NETWORK_H_
« no previous file with comments | « headless/public/headless_web_contents.h ('k') | headless/public/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698