| 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 "base/macros.h" |   9 #include "base/macros.h" | 
|  10 #include "content/shell/browser/shell_url_request_context_getter.h" |  10 #include "content/shell/browser/shell_url_request_context_getter.h" | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|  26  |  26  | 
|  27 class InfoMap; |  27 class InfoMap; | 
|  28  |  28  | 
|  29 class ShellURLRequestContextGetter : |  29 class ShellURLRequestContextGetter : | 
|  30   public content::ShellURLRequestContextGetter { |  30   public content::ShellURLRequestContextGetter { | 
|  31  public: |  31  public: | 
|  32   ShellURLRequestContextGetter( |  32   ShellURLRequestContextGetter( | 
|  33       content::BrowserContext* browser_context, |  33       content::BrowserContext* browser_context, | 
|  34       bool ignore_certificate_errors, |  34       bool ignore_certificate_errors, | 
|  35       const base::FilePath& base_path, |  35       const base::FilePath& base_path, | 
|  36       base::MessageLoop* io_loop, |  36       scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, | 
|  37       base::MessageLoop* file_loop, |  37       scoped_refptr<base::SingleThreadTaskRunner> file_task_runner, | 
|  38       content::ProtocolHandlerMap* protocol_handlers, |  38       content::ProtocolHandlerMap* protocol_handlers, | 
|  39       content::URLRequestInterceptorScopedVector request_interceptors, |  39       content::URLRequestInterceptorScopedVector request_interceptors, | 
|  40       net::NetLog* net_log, |  40       net::NetLog* net_log, | 
|  41       InfoMap* extension_info_map); |  41       InfoMap* extension_info_map); | 
|  42  |  42  | 
|  43   // content::ShellURLRequestContextGetter implementation. |  43   // content::ShellURLRequestContextGetter implementation. | 
|  44   scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; |  44   scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; | 
|  45  |  45  | 
|  46 protected: |  46 protected: | 
|  47  ~ShellURLRequestContextGetter() override; |  47  ~ShellURLRequestContextGetter() override; | 
|  48  |  48  | 
|  49 private: |  49 private: | 
|  50   content::BrowserContext* browser_context_; |  50   content::BrowserContext* browser_context_; | 
|  51   InfoMap* extension_info_map_; |  51   InfoMap* extension_info_map_; | 
|  52  |  52  | 
|  53 private: |  53 private: | 
|  54   DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); |  54   DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); | 
|  55 }; |  55 }; | 
|  56  |  56  | 
|  57 }  // namespace extensions |  57 }  // namespace extensions | 
|  58  |  58  | 
|  59 #endif  // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ |  59 #endif  // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ | 
| OLD | NEW |