| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_PUBLIC_CPP_BINDINGS_BINDING_SET_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_BINDING_SET_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_BINDING_SET_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_BINDING_SET_H_ |
| 7 | 7 |
| 8 #include <assert.h> | 8 #include <assert.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 size_t size() const { return bindings_.size(); } | 48 size_t size() const { return bindings_.size(); } |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 std::vector<std::unique_ptr<Binding<Interface>>> bindings_; | 51 std::vector<std::unique_ptr<Binding<Interface>>> bindings_; |
| 52 | 52 |
| 53 MOJO_DISALLOW_COPY_AND_ASSIGN(BindingSet); | 53 MOJO_DISALLOW_COPY_AND_ASSIGN(BindingSet); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace mojo | 56 } // namespace mojo |
| 57 | 57 |
| 58 #endif // MOJO_COMMON_BINDING_SET_H_ | 58 #endif // MOJO_PUBLIC_CPP_BINDINGS_BINDING_SET_H_ |
| OLD | NEW |