summaryrefslogtreecommitdiff
path: root/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
blob: 6fbdd8c95a299089cccd74c25880b0c5e5821c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2013 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 "apps/app_shim/test/app_shim_host_manager_test_api_mac.h"

#include "apps/app_shim/app_shim_host_manager_mac.h"
#include "base/files/file_path.h"

namespace test {

AppShimHostManagerTestApi::AppShimHostManagerTestApi(
    AppShimHostManager* host_manager)
    : host_manager_(host_manager) {
  DCHECK(host_manager_);
}

apps::UnixDomainSocketAcceptor* AppShimHostManagerTestApi::acceptor() {
  return host_manager_->acceptor_.get();
}

const base::FilePath& AppShimHostManagerTestApi::directory_in_tmp() {
  return host_manager_->directory_in_tmp_;
}

}  // namespace test