| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ |
| 6 #define HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/single_thread_task_runner.h" |
| 15 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
| 16 #include "content/public/browser/content_browser_client.h" | 17 #include "content/public/browser/content_browser_client.h" |
| 17 #include "headless/public/headless_browser.h" | 18 #include "headless/public/headless_browser.h" |
| 18 #include "net/proxy/proxy_config_service.h" | 19 #include "net/proxy/proxy_config_service.h" |
| 19 #include "net/url_request/url_request_context_getter.h" | 20 #include "net/url_request/url_request_context_getter.h" |
| 20 #include "net/url_request/url_request_job_factory.h" | 21 #include "net/url_request/url_request_job_factory.h" |
| 21 | 22 |
| 22 namespace net { | 23 namespace net { |
| 23 class HostResolver; | 24 class HostResolver; |
| 24 class ProxyConfigService; | 25 class ProxyConfigService; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 content::ProtocolHandlerMap protocol_handlers_; | 65 content::ProtocolHandlerMap protocol_handlers_; |
| 65 content::URLRequestInterceptorScopedVector request_interceptors_; | 66 content::URLRequestInterceptorScopedVector request_interceptors_; |
| 66 net::NetLog* net_log_; // Not owned. | 67 net::NetLog* net_log_; // Not owned. |
| 67 | 68 |
| 68 DISALLOW_COPY_AND_ASSIGN(HeadlessURLRequestContextGetter); | 69 DISALLOW_COPY_AND_ASSIGN(HeadlessURLRequestContextGetter); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 } // namespace headless | 72 } // namespace headless |
| 72 | 73 |
| 73 #endif // HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ | 74 #endif // HEADLESS_LIB_BROWSER_HEADLESS_URL_REQUEST_CONTEXT_GETTER_H_ |
| OLD | NEW |