| 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 CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 static ShellContentBrowserClient* Get(); | 25 static ShellContentBrowserClient* Get(); |
| 26 | 26 |
| 27 static void SetSwapProcessesForRedirect(bool swap); | 27 static void SetSwapProcessesForRedirect(bool swap); |
| 28 | 28 |
| 29 ShellContentBrowserClient(); | 29 ShellContentBrowserClient(); |
| 30 ~ShellContentBrowserClient() override; | 30 ~ShellContentBrowserClient() override; |
| 31 | 31 |
| 32 // ContentBrowserClient overrides. | 32 // ContentBrowserClient overrides. |
| 33 BrowserMainParts* CreateBrowserMainParts( | 33 BrowserMainParts* CreateBrowserMainParts( |
| 34 const MainFunctionParams& parameters) override; | 34 const MainFunctionParams& parameters) override; |
| 35 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context, |
| 36 const GURL& effective_url) override; |
| 35 net::URLRequestContextGetter* CreateRequestContext( | 37 net::URLRequestContextGetter* CreateRequestContext( |
| 36 BrowserContext* browser_context, | 38 BrowserContext* browser_context, |
| 37 ProtocolHandlerMap* protocol_handlers, | 39 ProtocolHandlerMap* protocol_handlers, |
| 38 URLRequestInterceptorScopedVector request_interceptors) override; | 40 URLRequestInterceptorScopedVector request_interceptors) override; |
| 39 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 41 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 40 BrowserContext* browser_context, | 42 BrowserContext* browser_context, |
| 41 const base::FilePath& partition_path, | 43 const base::FilePath& partition_path, |
| 42 bool in_memory, | 44 bool in_memory, |
| 43 ProtocolHandlerMap* protocol_handlers, | 45 ProtocolHandlerMap* protocol_handlers, |
| 44 URLRequestInterceptorScopedVector request_interceptors) override; | 46 URLRequestInterceptorScopedVector request_interceptors) override; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 resource_dispatcher_host_delegate_; | 114 resource_dispatcher_host_delegate_; |
| 113 | 115 |
| 114 base::Closure select_client_certificate_callback_; | 116 base::Closure select_client_certificate_callback_; |
| 115 | 117 |
| 116 ShellBrowserMainParts* shell_browser_main_parts_; | 118 ShellBrowserMainParts* shell_browser_main_parts_; |
| 117 }; | 119 }; |
| 118 | 120 |
| 119 } // namespace content | 121 } // namespace content |
| 120 | 122 |
| 121 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 123 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |