OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H | 5 #ifndef APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H |
6 #define APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H | 6 #define APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 class AppShimHostManager; | 10 class AppShimHostManager; |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class FilePath; | 13 class FilePath; |
14 } | 14 } |
15 | 15 |
16 namespace IPC { | 16 namespace apps { |
17 class ChannelFactory; | 17 class UnixDomainSocketAcceptor; |
18 } | 18 } |
19 | 19 |
20 namespace test { | 20 namespace test { |
21 | 21 |
22 class AppShimHostManagerTestApi { | 22 class AppShimHostManagerTestApi { |
23 public: | 23 public: |
24 explicit AppShimHostManagerTestApi(AppShimHostManager* host_manager); | 24 explicit AppShimHostManagerTestApi(AppShimHostManager* host_manager); |
25 | 25 |
26 IPC::ChannelFactory* factory(); | 26 apps::UnixDomainSocketAcceptor* acceptor(); |
27 | 27 |
28 const base::FilePath& directory_in_tmp(); | 28 const base::FilePath& directory_in_tmp(); |
29 | 29 |
30 private: | 30 private: |
31 AppShimHostManager* host_manager_; // Not owned. | 31 AppShimHostManager* host_manager_; // Not owned. |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(AppShimHostManagerTestApi); | 33 DISALLOW_COPY_AND_ASSIGN(AppShimHostManagerTestApi); |
34 }; | 34 }; |
35 | 35 |
36 } // namespace test | 36 } // namespace test |
37 | 37 |
38 #endif // APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H | 38 #endif // APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H |
OLD | NEW |