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

Unified Diff: chrome/browser/prerender/prerender_contents.h

Issue 6966017: Remove a chrome dependency by removing Prerender from ResourceDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passing tracker through. Created 9 years, 7 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: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index 153073d5355ffcddfdbe02e826d55431cfdf3b9e..9a21a30a67b61b32fcbaf5f96263d12c7af88aea 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -40,6 +40,7 @@ class Rect;
namespace prerender {
class PrerenderManager;
+class PrerenderTracker;
// This class is a peer of TabContents. It can host a renderer, but does not
// have any visible display. Its navigation is not managed by a
@@ -65,6 +66,7 @@ class PrerenderContents : public RenderViewHostDelegate,
virtual PrerenderContents* CreatePrerenderContents(
cbentzel 2011/05/24 17:13:54 The lack-of-ownership and lifetime-expectations of
dominich 2011/05/24 18:01:47 Done.
PrerenderManager* prerender_manager,
Profile* profile,
+ PrerenderTracker* prerender_tracker,
const GURL& url,
const GURL& referrer) = 0;
@@ -259,6 +261,7 @@ class PrerenderContents : public RenderViewHostDelegate,
protected:
PrerenderContents(PrerenderManager* prerender_manager,
Profile* profile,
+ PrerenderTracker* prerender_tracker,
const GURL& url,
const GURL& referrer);
@@ -314,6 +317,8 @@ class PrerenderContents : public RenderViewHostDelegate,
// The profile being used
Profile* profile_;
+ PrerenderTracker* prerender_tracker_;
+
// Information about the title and URL of the page that this class as a
// RenderViewHostDelegate has received from the RenderView.
// Used to apply to the new RenderViewHost delegate that might eventually

Powered by Google App Engine
This is Rietveld 408576698