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

Unified Diff: content/browser/browser_child_process_host.h

Issue 8787004: Make ChildProcessHost be used through an interface in content/public, instead of by inheritence. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host.h
===================================================================
--- content/browser/browser_child_process_host.h (revision 112775)
+++ content/browser/browser_child_process_host.h (working copy)
@@ -18,12 +18,14 @@
#include "content/public/common/child_process_host_delegate.h"
#include "ipc/ipc_message.h"
-class ChildProcessHost;
-
namespace base {
class WaitableEvent;
}
+namespace content {
+class ChildProcessHost;
+}
+
// Plugins/workers and other child processes that live on the IO thread should
// derive from this class.
//
@@ -127,7 +129,7 @@
// Sends the given notification on the UI thread.
void Notify(int type);
- ChildProcessHost* child_process_host() const {
+ content::ChildProcessHost* child_process_host() const {
return child_process_host_.get();
}
void set_name(const string16& name) { data_.name = name; }
@@ -146,7 +148,7 @@
};
content::ChildProcessData data_;
- scoped_ptr<ChildProcessHost> child_process_host_;
+ scoped_ptr<content::ChildProcessHost> child_process_host_;
ClientHook client_;
scoped_ptr<ChildProcessLauncher> child_process_;
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698