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

Unified Diff: content/public/browser/content_browser_client.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: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 117096)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -291,8 +291,11 @@
virtual std::string GetWorkerProcessTitle(
const GURL& url, const content::ResourceContext& context) = 0;
+ // Notifies the embedder that the ResourceDispatcherHost has been created.
+ // This is when it can optionally add a delegate or ResourceQueueDelegates.
+ virtual void ResourceDispatcherHostCreated() = 0;
+
// Getters for common objects.
- virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0;
virtual ui::Clipboard* GetClipboard() = 0;
virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0;
virtual net::NetLog* GetNetLog() = 0;

Powered by Google App Engine
This is Rietveld 408576698