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

Unified Diff: chrome/browser/prerender/prerender_contents.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: string_ordinal_unittest Created 9 years, 1 month 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: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index e3c4ee210fb5eb7a01260a22482931935ebcfe26..10cb23932114c55772782e1019726313b2dca663 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -20,6 +20,7 @@
class Profile;
class RenderViewHost;
class RenderViewHostDelegate;
+class SessionStorageNamespace;
class TabContents;
class TabContentsWrapper;
struct FaviconURL;
@@ -86,9 +87,10 @@ class PrerenderContents : public content::NotificationObserver,
static Factory* CreateFactory();
// |source_render_view_host| is the RenderViewHost that initiated
- // prerendering. It must be non-NULL and have its own view. It is used
- // solely to determine the window bounds while prerendering.
- virtual void StartPrerendering(const RenderViewHost* source_render_view_host);
+ // prerendering.
+ virtual void StartPrerendering(
+ const RenderViewHost* source_render_view_host,
+ SessionStorageNamespace* session_storage_namespace);
// Verifies that the prerendering is not using too many resources, and kills
// it if not.

Powered by Google App Engine
This is Rietveld 408576698