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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 virtual content::BrowserMainParts* CreateBrowserMainParts( | 31 virtual content::BrowserMainParts* CreateBrowserMainParts( |
32 const content::MainFunctionParams& parameters) OVERRIDE; | 32 const content::MainFunctionParams& parameters) OVERRIDE; |
33 virtual content::WebContentsView* OverrideCreateWebContentsView( | 33 virtual content::WebContentsView* OverrideCreateWebContentsView( |
34 content::WebContents* web_contents, | 34 content::WebContents* web_contents, |
35 content::RenderViewHostDelegateView** render_view_host_delegate_view) | 35 content::RenderViewHostDelegateView** render_view_host_delegate_view) |
36 OVERRIDE; | 36 OVERRIDE; |
37 virtual std::string GetStoragePartitionIdForChildProcess( | 37 virtual std::string GetStoragePartitionIdForChildProcess( |
38 content::BrowserContext* browser_context, | 38 content::BrowserContext* browser_context, |
39 int child_process_id) OVERRIDE; | 39 int child_process_id) OVERRIDE; |
| 40 virtual std::string GetStoragePartitionIdForSiteInstance( |
| 41 content::BrowserContext* browser_context, |
| 42 content::SiteInstance* instance) OVERRIDE; |
| 43 virtual bool IsValidStoragePartitionId( |
| 44 content::BrowserContext* browser_context, |
| 45 const std::string& partition_id) OVERRIDE; |
40 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 46 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
41 content::WebContents* web_contents) OVERRIDE; | 47 content::WebContents* web_contents) OVERRIDE; |
42 virtual void RenderViewHostCreated( | 48 virtual void RenderViewHostCreated( |
43 content::RenderViewHost* render_view_host) OVERRIDE; | 49 content::RenderViewHost* render_view_host) OVERRIDE; |
44 virtual void RenderProcessHostCreated( | 50 virtual void RenderProcessHostCreated( |
45 content::RenderProcessHost* host) OVERRIDE; | 51 content::RenderProcessHost* host) OVERRIDE; |
46 virtual void BrowserChildProcessHostCreated( | 52 virtual void BrowserChildProcessHostCreated( |
47 content::BrowserChildProcessHost* host) OVERRIDE; | 53 content::BrowserChildProcessHost* host) OVERRIDE; |
48 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 54 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
49 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 55 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 // Cached version of the locale so we can return the locale on the I/O | 226 // Cached version of the locale so we can return the locale on the I/O |
221 // thread. | 227 // thread. |
222 std::string io_thread_application_locale_; | 228 std::string io_thread_application_locale_; |
223 | 229 |
224 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 230 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
225 }; | 231 }; |
226 | 232 |
227 } // namespace chrome | 233 } // namespace chrome |
228 | 234 |
229 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 235 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |