| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 const GURL& effective_url) OVERRIDE; | 64 const GURL& effective_url) OVERRIDE; |
| 65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 66 const GURL& url) OVERRIDE; | 66 const GURL& url) OVERRIDE; |
| 67 virtual net::URLRequestContextGetter* CreateRequestContext( | 67 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 68 content::BrowserContext* browser_context, | 68 content::BrowserContext* browser_context, |
| 69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 70 blob_protocol_handler, | 70 blob_protocol_handler, |
| 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 72 file_system_protocol_handler, | 72 file_system_protocol_handler, |
| 73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 74 developer_protocol_handler, | |
| 75 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 76 chrome_protocol_handler, | 74 chrome_protocol_handler, |
| 77 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 75 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 78 chrome_devtools_protocol_handler) OVERRIDE; | 76 chrome_devtools_protocol_handler) OVERRIDE; |
| 79 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 77 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 80 content::BrowserContext* browser_context, | 78 content::BrowserContext* browser_context, |
| 81 const base::FilePath& partition_path, | 79 const base::FilePath& partition_path, |
| 82 bool in_memory, | 80 bool in_memory, |
| 83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 81 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 84 blob_protocol_handler, | 82 blob_protocol_handler, |
| 85 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 86 file_system_protocol_handler, | 84 file_system_protocol_handler, |
| 87 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 85 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 88 developer_protocol_handler, | |
| 89 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 90 chrome_protocol_handler, | 86 chrome_protocol_handler, |
| 91 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 87 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 92 chrome_devtools_protocol_handler) OVERRIDE; | 88 chrome_devtools_protocol_handler) OVERRIDE; |
| 93 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 89 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 94 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 90 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 95 const GURL& url) OVERRIDE; | 91 const GURL& url) OVERRIDE; |
| 96 virtual bool ShouldTryToUseExistingProcessHost( | 92 virtual bool ShouldTryToUseExistingProcessHost( |
| 97 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 93 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| 98 virtual void SiteInstanceGotProcess( | 94 virtual void SiteInstanceGotProcess( |
| 99 content::SiteInstance* site_instance) OVERRIDE; | 95 content::SiteInstance* site_instance) OVERRIDE; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // Cached version of the locale so we can return the locale on the I/O | 261 // Cached version of the locale so we can return the locale on the I/O |
| 266 // thread. | 262 // thread. |
| 267 std::string io_thread_application_locale_; | 263 std::string io_thread_application_locale_; |
| 268 | 264 |
| 269 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 265 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 270 }; | 266 }; |
| 271 | 267 |
| 272 } // namespace chrome | 268 } // namespace chrome |
| 273 | 269 |
| 274 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 270 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |