| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "content/shell/browser/shell_url_request_context_getter.h" | 9 #include "content/shell/browser/shell_url_request_context_getter.h" |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 bool ignore_certificate_errors, | 33 bool ignore_certificate_errors, |
| 34 const base::FilePath& base_path, | 34 const base::FilePath& base_path, |
| 35 base::MessageLoop* io_loop, | 35 base::MessageLoop* io_loop, |
| 36 base::MessageLoop* file_loop, | 36 base::MessageLoop* file_loop, |
| 37 content::ProtocolHandlerMap* protocol_handlers, | 37 content::ProtocolHandlerMap* protocol_handlers, |
| 38 content::URLRequestInterceptorScopedVector request_interceptors, | 38 content::URLRequestInterceptorScopedVector request_interceptors, |
| 39 net::NetLog* net_log, | 39 net::NetLog* net_log, |
| 40 InfoMap* extension_info_map); | 40 InfoMap* extension_info_map); |
| 41 | 41 |
| 42 // content::ShellURLRequestContextGetter implementation. | 42 // content::ShellURLRequestContextGetter implementation. |
| 43 net::NetworkDelegate* CreateNetworkDelegate() override; | 43 scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; |
| 44 | 44 |
| 45 protected: | 45 protected: |
| 46 ~ShellURLRequestContextGetter() override; | 46 ~ShellURLRequestContextGetter() override; |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 content::BrowserContext* browser_context_; | 49 content::BrowserContext* browser_context_; |
| 50 InfoMap* extension_info_map_; | 50 InfoMap* extension_info_map_; |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); | 53 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace extensions | 56 } // namespace extensions |
| 57 | 57 |
| 58 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 58 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |
| OLD | NEW |