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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 content::WebContents* web_contents) OVERRIDE; | 59 content::WebContents* web_contents) OVERRIDE; |
60 virtual void GuestWebContentsCreated( | 60 virtual void GuestWebContentsCreated( |
61 content::WebContents* guest_web_contents, | 61 content::WebContents* guest_web_contents, |
62 content::WebContents* embedder_web_contents) OVERRIDE; | 62 content::WebContents* embedder_web_contents) OVERRIDE; |
63 virtual void RenderProcessHostCreated( | 63 virtual void RenderProcessHostCreated( |
64 content::RenderProcessHost* host) OVERRIDE; | 64 content::RenderProcessHost* host) OVERRIDE; |
65 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 65 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
66 const GURL& effective_url) OVERRIDE; | 66 const GURL& effective_url) OVERRIDE; |
67 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 67 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
68 const GURL& url) OVERRIDE; | 68 const GURL& url) OVERRIDE; |
69 virtual std::vector<std::string> GetAdditionalWebUISchemes() OVERRIDE; | 69 virtual void GetAdditionalWebUISchemes( |
| 70 std::vector<std::string>* additional_schemes) OVERRIDE; |
70 virtual net::URLRequestContextGetter* CreateRequestContext( | 71 virtual net::URLRequestContextGetter* CreateRequestContext( |
71 content::BrowserContext* browser_context, | 72 content::BrowserContext* browser_context, |
72 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 73 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
73 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 74 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
74 content::BrowserContext* browser_context, | 75 content::BrowserContext* browser_context, |
75 const base::FilePath& partition_path, | 76 const base::FilePath& partition_path, |
76 bool in_memory, | 77 bool in_memory, |
77 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 78 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
78 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 79 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
79 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 80 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 private: | 245 private: |
245 // Set of origins that can use TCP/UDP private APIs from NaCl. | 246 // Set of origins that can use TCP/UDP private APIs from NaCl. |
246 std::set<std::string> allowed_socket_origins_; | 247 std::set<std::string> allowed_socket_origins_; |
247 | 248 |
248 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 249 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
249 }; | 250 }; |
250 | 251 |
251 } // namespace chrome | 252 } // namespace chrome |
252 | 253 |
253 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 254 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |