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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const GURL& site) OVERRIDE; | 48 const GURL& site) OVERRIDE; |
49 virtual bool IsValidStoragePartitionId( | 49 virtual bool IsValidStoragePartitionId( |
50 content::BrowserContext* browser_context, | 50 content::BrowserContext* browser_context, |
51 const std::string& partition_id) OVERRIDE; | 51 const std::string& partition_id) OVERRIDE; |
52 virtual void GetStoragePartitionConfigForSite( | 52 virtual void GetStoragePartitionConfigForSite( |
53 content::BrowserContext* browser_context, | 53 content::BrowserContext* browser_context, |
54 const GURL& site, | 54 const GURL& site, |
55 std::string* partition_domain, | 55 std::string* partition_domain, |
56 std::string* partition_name, | 56 std::string* partition_name, |
57 bool* in_memory) OVERRIDE; | 57 bool* in_memory) OVERRIDE; |
| 58 virtual void ParseNonDefaultStoragePartitionConfig( |
| 59 const GURL& site, |
| 60 std::string* partition_domain, |
| 61 std::string* partition_name, |
| 62 bool* in_memory) OVERRIDE; |
58 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 63 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
59 content::WebContents* web_contents) OVERRIDE; | 64 content::WebContents* web_contents) OVERRIDE; |
60 virtual void RenderViewHostCreated( | 65 virtual void RenderViewHostCreated( |
61 content::RenderViewHost* render_view_host) OVERRIDE; | 66 content::RenderViewHost* render_view_host) OVERRIDE; |
62 virtual void RenderProcessHostCreated( | 67 virtual void RenderProcessHostCreated( |
63 content::RenderProcessHost* host) OVERRIDE; | 68 content::RenderProcessHost* host) OVERRIDE; |
64 virtual void BrowserChildProcessHostCreated( | 69 virtual void BrowserChildProcessHostCreated( |
65 content::BrowserChildProcessHost* host) OVERRIDE; | 70 content::BrowserChildProcessHost* host) OVERRIDE; |
66 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 71 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
67 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 72 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
(...skipping 184 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 | 257 // Cached version of the locale so we can return the locale on the I/O |
253 // thread. | 258 // thread. |
254 std::string io_thread_application_locale_; | 259 std::string io_thread_application_locale_; |
255 | 260 |
256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
257 }; | 262 }; |
258 | 263 |
259 } // namespace chrome | 264 } // namespace chrome |
260 | 265 |
261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 266 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |