OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 content::WebContents* web_contents) OVERRIDE; | 60 content::WebContents* web_contents) OVERRIDE; |
61 virtual void RenderViewHostCreated( | 61 virtual void RenderViewHostCreated( |
62 content::RenderViewHost* render_view_host) OVERRIDE; | 62 content::RenderViewHost* render_view_host) OVERRIDE; |
63 virtual void RenderProcessHostCreated( | 63 virtual void RenderProcessHostCreated( |
64 content::RenderProcessHost* host) OVERRIDE; | 64 content::RenderProcessHost* host) OVERRIDE; |
65 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 65 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
66 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 66 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
67 const GURL& effective_url) OVERRIDE; | 67 const GURL& effective_url) OVERRIDE; |
68 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 68 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
69 const GURL& url) OVERRIDE; | 69 const GURL& url) OVERRIDE; |
| 70 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 71 content::BrowserContext* browser_context, |
| 72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 73 blob_protocol_handler, |
| 74 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 75 file_system_protocol_handler, |
| 76 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 77 developer_protocol_handler) OVERRIDE; |
| 78 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 79 content::BrowserContext* browser_context, |
| 80 const FilePath& partition_path, |
| 81 bool in_memory, |
| 82 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 83 blob_protocol_handler, |
| 84 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 85 file_system_protocol_handler, |
| 86 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 87 developer_protocol_handler) OVERRIDE; |
70 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 88 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
71 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 89 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
72 const GURL& url) OVERRIDE; | 90 const GURL& url) OVERRIDE; |
73 virtual bool ShouldTryToUseExistingProcessHost( | 91 virtual bool ShouldTryToUseExistingProcessHost( |
74 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 92 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
75 virtual void SiteInstanceGotProcess( | 93 virtual void SiteInstanceGotProcess( |
76 content::SiteInstance* site_instance) OVERRIDE; | 94 content::SiteInstance* site_instance) OVERRIDE; |
77 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 95 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
78 OVERRIDE; | 96 OVERRIDE; |
79 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 97 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // Cached version of the locale so we can return the locale on the I/O | 270 // Cached version of the locale so we can return the locale on the I/O |
253 // thread. | 271 // thread. |
254 std::string io_thread_application_locale_; | 272 std::string io_thread_application_locale_; |
255 | 273 |
256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 274 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
257 }; | 275 }; |
258 | 276 |
259 } // namespace chrome | 277 } // namespace chrome |
260 | 278 |
261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 279 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |