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

Unified Diff: chrome/browser/browser_process.h

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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.h
===================================================================
--- chrome/browser/browser_process.h (revision 117096)
+++ chrome/browser/browser_process.h (working copy)
@@ -83,6 +83,9 @@
BrowserProcess();
virtual ~BrowserProcess();
+ // Called when the ResourceDispatcherHost object is created by content.
+ virtual void ResourceDispatcherHostCreated() = 0;
+
// Invoked when the user is logging out/shutting down. When logging off we may
// not have enough time to do a normal shutdown. This method is invoked prior
// to normal shutdown and saves any state that must be saved before we are
@@ -90,8 +93,6 @@
virtual void EndSession() = 0;
// Services: any of these getters may return NULL
- virtual ResourceDispatcherHost* resource_dispatcher_host() = 0;
-
virtual MetricsService* metrics_service() = 0;
virtual ProfileManager* profile_manager() = 0;
virtual PrefService* local_state() = 0;

Powered by Google App Engine
This is Rietveld 408576698