Index: shell/child_process_host.h |
diff --git a/shell/child_process_host.h b/shell/child_process_host.h |
index 67f243d37ba58e2ce8b8e9f1e8b2d3a3cdbbd302..d065ce60ca1c80e2d8827829b8c03e0614229c82 100644 |
--- a/shell/child_process_host.h |
+++ b/shell/child_process_host.h |
@@ -27,10 +27,12 @@ class Context; |
// |
// This class is not thread-safe. It should be created/used/destroyed on a |
// single thread. |
-class ChildProcessHost : public mojo::ErrorHandler { |
+class ChildProcessHost { |
public: |
explicit ChildProcessHost(Context* context); |
- ~ChildProcessHost() override; |
+ // TODO(vtl): Virtual because |DidStart()| is, even though it shouldn't be |
+ // (see |DidStart()|). |
+ virtual ~ChildProcessHost(); |
// |Start()|s the child process; calls |DidStart()| (on the thread on which |
// |Start()| was called) when the child has been started (or failed to start). |
@@ -73,9 +75,7 @@ class ChildProcessHost : public mojo::ErrorHandler { |
base::Process DoLaunch(scoped_ptr<LaunchData> launch_data); |
void AppCompleted(int32_t result); |
- |
- // |mojo::ErrorHandler| methods: |
- void OnConnectionError() override; |
+ void OnConnectionError(); |
Context* const context_; |