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_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ | 5 #ifndef MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ |
6 #define MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ | 6 #define MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
14 #include "mojo/shell/public/cpp/connection.h" | 14 #include "mojo/shell/public/cpp/connection.h" |
| 15 #include "mojo/shell/public/interfaces/connector.mojom.h" |
15 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 16 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" |
16 #include "mojo/shell/public/interfaces/shell.mojom.h" | |
17 | 17 |
18 namespace mojo { | 18 namespace mojo { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
21 // A ConnectionImpl represents each half of a connection between two | 21 // A ConnectionImpl represents each half of a connection between two |
22 // applications, allowing customization of which interfaces are published to the | 22 // applications, allowing customization of which interfaces are published to the |
23 // other. | 23 // other. |
24 class ConnectionImpl : public Connection { | 24 class ConnectionImpl : public Connection { |
25 public: | 25 public: |
26 ConnectionImpl(); | 26 ConnectionImpl(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 base::WeakPtrFactory<ConnectionImpl> weak_factory_; | 72 base::WeakPtrFactory<ConnectionImpl> weak_factory_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(ConnectionImpl); | 74 DISALLOW_COPY_AND_ASSIGN(ConnectionImpl); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace internal | 77 } // namespace internal |
78 } // namespace mojo | 78 } // namespace mojo |
79 | 79 |
80 #endif // MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ | 80 #endif // MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ |
OLD | NEW |