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

Unified Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.h

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Modifying prefetch to account for multi-profile. Created 9 years, 3 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/renderer_host/chrome_render_view_host_observer.h
===================================================================
--- chrome/browser/renderer_host/chrome_render_view_host_observer.h (revision 100345)
+++ chrome/browser/renderer_host/chrome_render_view_host_observer.h (working copy)
@@ -8,13 +8,18 @@
#include "content/browser/renderer_host/render_view_host_observer.h"
+namespace chrome_browser_net {
+class Predictor;
+}
+
class Extension;
// This class holds the Chrome specific parts of RenderViewHost, and has the
// same lifetime.
class ChromeRenderViewHostObserver : public RenderViewHostObserver {
public:
- explicit ChromeRenderViewHostObserver(RenderViewHost* render_view_host);
+ ChromeRenderViewHostObserver(RenderViewHost* render_view_host,
+ chrome_browser_net::Predictor* predictor);
virtual ~ChromeRenderViewHostObserver();
// RenderViewHostObserver overrides.
@@ -35,6 +40,8 @@
void OnDomOperationResponse(const std::string& json_string,
int automation_id);
+ chrome_browser_net::Predictor* predictor_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver);
};

Powered by Google App Engine
This is Rietveld 408576698