| Index: mojo/shell/connect_util.cc
|
| diff --git a/mojo/shell/connect_util.cc b/mojo/shell/connect_util.cc
|
| deleted file mode 100644
|
| index e5210c69b7921f70ca885a9b4268f806a5bf8a88..0000000000000000000000000000000000000000
|
| --- a/mojo/shell/connect_util.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright 2015 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 "mojo/shell/connect_util.h"
|
| -
|
| -#include <utility>
|
| -
|
| -#include "mojo/shell/connect_params.h"
|
| -#include "mojo/shell/shell.h"
|
| -
|
| -namespace mojo {
|
| -namespace shell {
|
| -
|
| -ScopedMessagePipeHandle ConnectToInterfaceByName(
|
| - Shell* shell,
|
| - const Identity& source,
|
| - const Identity& target,
|
| - const std::string& interface_name) {
|
| - shell::mojom::InterfaceProviderPtr remote_interfaces;
|
| - scoped_ptr<ConnectParams> params(new ConnectParams);
|
| - params->set_source(source);
|
| - params->set_target(target);
|
| - params->set_remote_interfaces(GetProxy(&remote_interfaces));
|
| - shell->Connect(std::move(params));
|
| - MessagePipe pipe;
|
| - remote_interfaces->GetInterface(interface_name, std::move(pipe.handle1));
|
| - return std::move(pipe.handle0);
|
| -}
|
| -
|
| -} // namespace shell
|
| -} // namespace mojo
|
|
|