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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 10837230: Move StoragePartition into content/public and remove BrowserContext::GetDOMStorageContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style fixes. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 1d568addb6c475004b3ff733919ff303bc5de25d..8e36e590704a2886b33529cf9f8efd3982d9c354 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -26,6 +26,7 @@ class RendererMainThread;
class RenderWidgetHelper;
class RenderWidgetHost;
class RenderWidgetHostImpl;
+class StoragePartitionImpl;
// Implements a concrete RenderProcessHost for the browser process for talking
// to actual renderer processes (as opposed to mocks).
@@ -45,7 +46,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
: public RenderProcessHost,
public ChildProcessLauncher::Client {
public:
- RenderProcessHostImpl(BrowserContext* browser_context, bool is_guest);
+ RenderProcessHostImpl(BrowserContext* browser_context,
+ StoragePartitionImpl* storage_partition_impl,
Charlie Reis 2012/08/14 18:50:12 Why is this a StoragePartitionImpl rather than a S
awong 2012/08/14 19:12:47 We get covariant return which removes the need to
+ bool is_guest);
virtual ~RenderProcessHostImpl();
// RenderProcessHost implementation (public portion).
@@ -259,6 +262,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
BrowserContext* browser_context_;
+ // Owned by |browser_context_|.
+ StoragePartitionImpl* storage_partition_impl_;
+
// True if the process can be shut down suddenly. If this is true, then we're
// sure that all the RenderViews in the process can be shutdown suddenly. If
// it's false, then specific RenderViews might still be allowed to be shutdown

Powered by Google App Engine
This is Rietveld 408576698