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

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

Issue 8392041: Prerendered tabs use the same SessionStorage namespace as the tab that triggered the prerender. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Omnibox works Created 9 years, 2 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.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index a295822b04dc0890e6d2f166d2e5fd19716d3dcc..0f12390468a2e2990236207dde4deb05d3bef9ff 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -472,6 +472,10 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
// (and what action to take regarding the selection).
void StopFinding(const ViewMsg_StopFinding_Params& params);
+ SessionStorageNamespace* session_storage_namespace() {
+ return session_storage_namespace_.get();
+ }
+
// NOTE: Do not add functions that just send an IPC message that are called in
// one or two places. Have the caller send the IPC message directly.

Powered by Google App Engine
This is Rietveld 408576698