| 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 #include "services/service_manager/public/cpp/binder_registry.h" | 5 #include "services/service_manager/public/cpp/binder_registry.h" |
| 6 | 6 |
| 7 #include "services/service_manager/public/cpp/identity.h" | 7 #include "services/service_manager/public/cpp/identity.h" |
| 8 | 8 |
| 9 namespace service_manager { | 9 namespace service_manager { |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 | 49 |
| 50 void BinderRegistry::SetInterfaceBinder( | 50 void BinderRegistry::SetInterfaceBinder( |
| 51 const std::string& interface_name, | 51 const std::string& interface_name, |
| 52 std::unique_ptr<InterfaceBinder> binder) { | 52 std::unique_ptr<InterfaceBinder> binder) { |
| 53 RemoveInterface(interface_name); | 53 RemoveInterface(interface_name); |
| 54 binders_[interface_name] = std::move(binder); | 54 binders_[interface_name] = std::move(binder); |
| 55 } | 55 } |
| 56 | 56 |
| 57 } // namespace service_manager | 57 } // namespace service_manager |
| OLD | NEW |