diff options
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 7a4ebc4..0aca71f 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -143,7 +143,8 @@ class RenderView : public RenderWidget, 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); @@ -469,7 +470,8 @@ class RenderView : public RenderWidget, 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, @@ -1007,6 +1009,11 @@ class RenderView : public RenderWidget, HostZoomLevels host_zoom_levels_; + // The SessionStorage namespace that we're assigned to has an ID, and that ID + // is passed to us upon creation. WebKit asks for this ID upon first use and + // uses it whenever asking the browser process to allocate new storage areas. + int64 session_storage_namespace_id_; + // Page translation related objects. TextTranslatorImpl text_translator_; scoped_ptr<PageTranslator> page_translator_; |