summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/shell/lib/service.cc
blob: 2f2e542f1d748b23e5859ddebc06166dc65f437a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 "mojo/public/cpp/shell/service.h"

namespace mojo {
namespace internal {

ServiceConnectorBase::Owner::Owner(ScopedMessagePipeHandle shell_handle)
    : shell_(MakeProxy<Shell>(shell_handle.Pass())) {
  shell_->SetClient(this);
}

ServiceConnectorBase::Owner::~Owner() {}

ServiceConnectorBase::~ServiceConnectorBase() {}

}  // namespace internal
}  // namespace mojo