Chromium Code Reviews| Index: headless/public/headless_network.h |
| diff --git a/headless/public/network.h b/headless/public/headless_network.h |
| similarity index 74% |
| rename from headless/public/network.h |
| rename to headless/public/headless_network.h |
| index efede2becf0e9802163f440c32d3511ac978741c..0d65ce45aa304286d3c8711e08b144046d3d88b0 100644 |
| --- a/headless/public/network.h |
| +++ b/headless/public/headless_network.h |
| @@ -2,8 +2,8 @@ |
| // 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_ |
| +#ifndef HEADLESS_PUBLIC_HEADLESS_NETWORK_H_ |
| +#define HEADLESS_PUBLIC_HEADLESS_NETWORK_H_ |
| #include <base/macros.h> |
| #include <base/memory/ref_counted.h> |
| @@ -17,7 +17,8 @@ class HttpTransactionFactory; |
| namespace headless { |
| -class Network { |
| +// Provides helpers for integrating with various types of networking stacks. |
| +class HeadlessNetwork { |
| public: |
| static scoped_refptr<net::URLRequestContextGetter> |
|
pfeldman
2016/02/09 19:49:51
I wonder if there is room for the platform API tha
Sami
2016/02/09 21:40:51
I think the client can be isolated from content/ a
|
| CreateURLRequestContextGetterUsingSocketFactory( |
| @@ -28,9 +29,9 @@ class Network { |
| scoped_ptr<net::HttpTransactionFactory> http_transaction_factory); |
| private: |
| - Network() = delete; |
| + HeadlessNetwork() = delete; |
| }; |
| } // namespace headless |
| -#endif // HEADLESS_PUBLIC_NETWORK_H_ |
| +#endif // HEADLESS_PUBLIC_HEADLESS_NETWORK_H_ |