Index: components/mus/client_connection.cc |
diff --git a/components/mus/client_connection.cc b/components/mus/client_connection.cc |
deleted file mode 100644 |
index a785084ea79476ab3bfa7d7967d9ba8af8236729..0000000000000000000000000000000000000000 |
--- a/components/mus/client_connection.cc |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "components/mus/client_connection.h" |
- |
-#include "components/mus/connection_manager.h" |
-#include "components/mus/view_tree_impl.h" |
- |
-namespace mus { |
- |
-ClientConnection::ClientConnection(scoped_ptr<ViewTreeImpl> service, |
- mojo::ViewTreeClient* client) |
- : service_(service.Pass()), client_(client) {} |
- |
-ClientConnection::~ClientConnection() {} |
- |
-DefaultClientConnection::DefaultClientConnection( |
- scoped_ptr<ViewTreeImpl> service_impl, |
- ConnectionManager* connection_manager, |
- mojo::InterfaceRequest<mojo::ViewTree> service_request, |
- mojo::ViewTreeClientPtr client) |
- : ClientConnection(service_impl.Pass(), client.get()), |
- connection_manager_(connection_manager), |
- binding_(service(), service_request.Pass()), |
- client_(client.Pass()) { |
- binding_.set_connection_error_handler( |
- [this]() { connection_manager_->OnConnectionError(this); }); |
-} |
- |
-DefaultClientConnection::~DefaultClientConnection() {} |
- |
-} // namespace mus |