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

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

Issue 19491004: Fix SessionStorage confusion between RenderViewHostImpl and NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
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() {}
};

Powered by Google App Engine
This is Rietveld 408576698