Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index 1faeae9e6b91cf8f33839a50c1ff1024bf89ac62..22fde8ed3e16ee524c11a9f23c249da15b09e9ba 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -94,6 +94,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// renderer process. |
virtual bool IsGuest() const = 0; |
+ // Returns the storage partition associated with this process. |
+ // |
+ // TODO(nasko): Remove this function from the public API once |
+ // URLRequestContextGetter's creation is moved into StoragePartition. |
+ virtual StoragePartition* GetStoragePartition() const = 0; |
+ |
// Try to shutdown the associated renderer process as fast as possible. |
// If this renderer has any RenderViews with unload handlers, then this |
// function does nothing. The current implementation uses TerminateProcess. |