Index: chrome/renderer/render_view.h |
=================================================================== |
--- chrome/renderer/render_view.h (revision 36257) |
+++ chrome/renderer/render_view.h (working copy) |
@@ -141,7 +141,8 @@ |
const RendererPreferences& renderer_prefs, |
const WebPreferences& webkit_prefs, |
SharedRenderViewCounter* counter, |
- int32 routing_id); |
+ int32 routing_id, |
+ int64 session_storage_namespace_id); |
// Sets the "next page id" counter. |
static void SetNextPageID(int32 next_page_id); |
@@ -465,7 +466,8 @@ |
typedef std::map<std::string, int> HostZoomLevels; |
explicit RenderView(RenderThreadBase* render_thread, |
- const WebPreferences& webkit_preferences); |
+ const WebPreferences& webkit_preferences, |
+ int64 session_storage_namespace_id); |
// Initializes this view with the given parent and ID. The |routing_id| can be |
// set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, |
@@ -998,6 +1000,11 @@ |
HostZoomLevels host_zoom_levels_; |
+ // The ID is valid when this class is initialized, but the actual session |
+ // storage namespace is created lazily. |
+ int64 session_storage_namespace_id_; |
+ scoped_ptr<WebKit::WebStorageNamespace> session_storage_namespace_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderView); |
}; |