diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-03 07:10:44 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-03 07:10:44 +0000 |
commit | 4734d0becafa5b77d708020eed24d97148ea208d (patch) | |
tree | db94ca97a1ac3f1831033ef07dbda98ccb53dfa6 /content/browser/renderer_host/mock_render_process_host.cc | |
parent | 463ea5fc399e6275a2351df6b398b7d91b8f5a61 (diff) | |
download | chromium_src-4734d0becafa5b77d708020eed24d97148ea208d.zip chromium_src-4734d0becafa5b77d708020eed24d97148ea208d.tar.gz chromium_src-4734d0becafa5b77d708020eed24d97148ea208d.tar.bz2 |
Make ChildProcessHost be used through an interface in content/public, instead of by inheritence.
BUG=98716
Review URL: http://codereview.chromium.org/8787004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/mock_render_process_host.cc')
-rw-r--r-- | content/browser/renderer_host/mock_render_process_host.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/renderer_host/mock_render_process_host.cc b/content/browser/renderer_host/mock_render_process_host.cc index bc0d9d8..9f3bca7 100644 --- a/content/browser/renderer_host/mock_render_process_host.cc +++ b/content/browser/renderer_host/mock_render_process_host.cc @@ -9,16 +9,18 @@ #include "base/time.h" #include "content/browser/child_process_security_policy.h" #include "content/browser/renderer_host/render_process_host_impl.h" -#include "content/common/child_process_host.h" +#include "content/common/child_process_host_impl.h" #include "content/public/browser/notification_service.h" #include "content/public/browser/notification_types.h" +using content::ChildProcessHostImpl; + MockRenderProcessHost::MockRenderProcessHost( content::BrowserContext* browser_context) : transport_dib_(NULL), bad_msg_count_(0), factory_(NULL), - id_(ChildProcessHost::GenerateChildProcessUniqueId()), + id_(ChildProcessHostImpl::GenerateChildProcessUniqueId()), browser_context_(browser_context), max_page_id_(-1), fast_shutdown_started_(false) { |