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

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: 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..5fe1df19e8468b61612daf782f4ce566d3cd869f 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -35,6 +35,9 @@ class FilePath;
class NotificationService;
class PluginDataRemover;
class TabCloseableStateWatcher;
+namespace prerender {
mmenke 2011/05/23 21:58:41 nit: space above this line.
dominich 2011/05/23 22:22:55 Done.
+class PrerenderTracker;
+}
// Real implementation of BrowserProcess that creates and returns the services.
class BrowserProcessImpl : public BrowserProcess,
@@ -111,6 +114,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 +281,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