Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index f73b0410a3f3a85733976b204b5a710b46930f54..84cd5779ad5352e9c86ab2f8bdae64fe0124cf6d 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -58,6 +58,7 @@ struct GlobalRequestID; |
struct NativeWebKeyboardEvent; |
struct Referrer; |
struct RendererPreferences; |
+class SiteInstance; |
// |
// RenderViewHostDelegate |
@@ -414,6 +415,11 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
const MediaStreamRequest& request, |
const MediaResponseCallback& callback) {} |
+ // Returns the SessionStorageNamespace the render view should use. Might |
+ // create the SessionStorageNamespace on the fly. |
+ virtual SessionStorageNamespace* GetSessionStorageNamespace( |
+ SiteInstance* instance); |
+ |
protected: |
virtual ~RenderViewHostDelegate() {} |
}; |