• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "apps/app_shim/test/app_shim_host_manager_test_api_mac.h"
6 
7 #include "apps/app_shim/app_shim_host_manager_mac.h"
8 #include "base/files/file_path.h"
9 
10 namespace test {
11 
AppShimHostManagerTestApi(AppShimHostManager * host_manager)12 AppShimHostManagerTestApi::AppShimHostManagerTestApi(
13     AppShimHostManager* host_manager)
14     : host_manager_(host_manager) {
15   DCHECK(host_manager_);
16 }
17 
factory()18 IPC::ChannelFactory* AppShimHostManagerTestApi::factory() {
19   return host_manager_->factory_.get();
20 }
21 
directory_in_tmp()22 const base::FilePath& AppShimHostManagerTestApi::directory_in_tmp() {
23   return host_manager_->directory_in_tmp_;
24 }
25 
26 }  // namespace test
27