Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: services/service_manager/public/cpp/standalone_service/mach_broker.h

Issue 2557213002: Build services as standalone executables (Closed)
Patch Set: remove DCHECKs with side effects -_- Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_MACH_BROKER_H_
6 #define SERVICES_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_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 service_manager { 14 namespace service_manager {
15 15
16 // A global singleton |MachBroker| is used by the service manager to provide 16 // A global singleton |MachBroker| is used by the service manager to provide
(...skipping 26 matching lines...) Expand all
43 private: 43 private:
44 MachBroker(); 44 MachBroker();
45 ~MachBroker(); 45 ~MachBroker();
46 friend struct base::DefaultSingletonTraits<MachBroker>; 46 friend struct base::DefaultSingletonTraits<MachBroker>;
47 47
48 base::MachPortBroker broker_; 48 base::MachPortBroker broker_;
49 }; 49 };
50 50
51 } // namespace service_manager 51 } // namespace service_manager
52 52
53 #endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_MACH_BROKER_H_ 53 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_MACH_BROKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698