| Index: services/view_manager/client_connection.cc
|
| diff --git a/services/view_manager/client_connection.cc b/services/view_manager/client_connection.cc
|
| deleted file mode 100644
|
| index 7b4d07bad0cf30c43050501ee5fc3857de4d0e3f..0000000000000000000000000000000000000000
|
| --- a/services/view_manager/client_connection.cc
|
| +++ /dev/null
|
| @@ -1,36 +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 "services/view_manager/client_connection.h"
|
| -
|
| -#include "services/view_manager/connection_manager.h"
|
| -#include "services/view_manager/view_manager_service_impl.h"
|
| -
|
| -namespace view_manager {
|
| -
|
| -ClientConnection::ClientConnection(scoped_ptr<ViewManagerServiceImpl> service,
|
| - mojo::ViewManagerClient* client)
|
| - : service_(service.Pass()), client_(client) {
|
| -}
|
| -
|
| -ClientConnection::~ClientConnection() {
|
| -}
|
| -
|
| -DefaultClientConnection::DefaultClientConnection(
|
| - scoped_ptr<ViewManagerServiceImpl> service_impl,
|
| - ConnectionManager* connection_manager,
|
| - mojo::InterfaceRequest<mojo::ViewManagerService> service_request,
|
| - mojo::ViewManagerClientPtr 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 view_manager
|
|
|