OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_SHELL_RUNNER_HOST_MACH_BROKER_H_ | 5 #ifndef SERVICES_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ |
6 #define SERVICES_SHELL_RUNNER_HOST_MACH_BROKER_H_ | 6 #define SERVICES_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ |
7 | 7 |
8 #include "base/mac/mach_port_broker.h" | 8 #include "base/mac/mach_port_broker.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 template <typename T> struct DefaultSingletonTraits; | 11 template <typename T> struct DefaultSingletonTraits; |
12 } | 12 } |
13 | 13 |
14 namespace shell { | 14 namespace shell { |
15 | 15 |
16 // A global singleton |MachBroker| is used by the shell to provide access to | 16 // A global singleton |MachBroker| is used by the shell to provide access to |
(...skipping 25 matching lines...) Expand all Loading... |
42 private: | 42 private: |
43 MachBroker(); | 43 MachBroker(); |
44 ~MachBroker(); | 44 ~MachBroker(); |
45 friend struct base::DefaultSingletonTraits<MachBroker>; | 45 friend struct base::DefaultSingletonTraits<MachBroker>; |
46 | 46 |
47 base::MachPortBroker broker_; | 47 base::MachPortBroker broker_; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace shell | 50 } // namespace shell |
51 | 51 |
52 #endif // SERVICES_SHELL_RUNNER_HOST_MACH_BROKER_H_ | 52 #endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ |
OLD | NEW |