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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 6966017: Remove a chrome dependency by removing Prerender from ResourceDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_tests build 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/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 577d4ba71b53b914a1a262eae239179dd4daf77b..6e66ed3843cedf4a5f6df350ae39e5615ed54015 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -36,6 +36,10 @@ class NotificationService;
class PluginDataRemover;
class TabCloseableStateWatcher;
+namespace prerender {
+class PrerenderTracker;
+}
+
// Real implementation of BrowserProcess that creates and returns the services.
class BrowserProcessImpl : public BrowserProcess,
public base::NonThreadSafe,
@@ -111,6 +115,8 @@ class BrowserProcessImpl : public BrowserProcess,
virtual ChromeNetLog* net_log();
+ virtual prerender::PrerenderTracker* prerender_tracker();
+
#if defined(IPC_MESSAGE_LOG_ENABLED)
virtual void SetIPCLoggingEnabled(bool enable);
#endif
@@ -276,6 +282,8 @@ class BrowserProcessImpl : public BrowserProcess,
// Lives here so can safely log events on shutdown.
scoped_ptr<ChromeNetLog> net_log_;
+ scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
+
NotificationRegistrar notification_registrar_;
scoped_refptr<PluginDataRemover> plugin_data_remover_;

Powered by Google App Engine
This is Rietveld 408576698