Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 17 matching lines...) Expand all
28 virtual ~ChromeContentBrowserClient(); 28 virtual ~ChromeContentBrowserClient();
29 29
30 static void RegisterUserPrefs(PrefService* prefs); 30 static void RegisterUserPrefs(PrefService* prefs);
31 31
32 virtual content::BrowserMainParts* CreateBrowserMainParts( 32 virtual content::BrowserMainParts* CreateBrowserMainParts(
33 const content::MainFunctionParams& parameters) OVERRIDE; 33 const content::MainFunctionParams& parameters) OVERRIDE;
34 virtual content::WebContentsView* OverrideCreateWebContentsView( 34 virtual content::WebContentsView* OverrideCreateWebContentsView(
35 content::WebContents* web_contents, 35 content::WebContents* web_contents,
36 content::RenderViewHostDelegateView** render_view_host_delegate_view) 36 content::RenderViewHostDelegateView** render_view_host_delegate_view)
37 OVERRIDE; 37 OVERRIDE;
38 virtual std::string GetStoragePartitionForChildProcess(
39 content::BrowserContext* browser_context,
40 int child_process_id)
41 OVERRIDE;
38 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( 42 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
39 content::WebContents* web_contents) OVERRIDE; 43 content::WebContents* web_contents) OVERRIDE;
40 virtual void RenderViewHostCreated( 44 virtual void RenderViewHostCreated(
41 content::RenderViewHost* render_view_host) OVERRIDE; 45 content::RenderViewHost* render_view_host) OVERRIDE;
42 virtual void RenderProcessHostCreated( 46 virtual void RenderProcessHostCreated(
43 content::RenderProcessHost* host) OVERRIDE; 47 content::RenderProcessHost* host) OVERRIDE;
44 virtual void BrowserChildProcessHostCreated( 48 virtual void BrowserChildProcessHostCreated(
45 content::BrowserChildProcessHost* host) OVERRIDE; 49 content::BrowserChildProcessHost* host) OVERRIDE;
46 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; 50 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE;
47 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 51 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Cached version of the locale so we can return the locale on the I/O 215 // Cached version of the locale so we can return the locale on the I/O
212 // thread. 216 // thread.
213 std::string io_thread_application_locale_; 217 std::string io_thread_application_locale_;
214 218
215 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 219 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
216 }; 220 };
217 221
218 } // namespace chrome 222 } // namespace chrome
219 223
220 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 224 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698