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 SERVICES_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ |
6 #define MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ | 6 #define SERVICES_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/capabilities.h" | 14 #include "services/shell/public/cpp/capabilities.h" |
15 #include "mojo/shell/public/cpp/connection.h" | 15 #include "services/shell/public/cpp/connection.h" |
16 #include "mojo/shell/public/cpp/identity.h" | 16 #include "services/shell/public/cpp/identity.h" |
17 #include "mojo/shell/public/interfaces/connector.mojom.h" | 17 #include "services/shell/public/interfaces/connector.mojom.h" |
18 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 18 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
19 | 19 |
20 namespace mojo { | 20 namespace mojo { |
21 namespace internal { | 21 namespace internal { |
22 | 22 |
23 // A ConnectionImpl represents each half of a connection between two | 23 // A ConnectionImpl represents each half of a connection between two |
24 // applications, allowing customization of which interfaces are published to the | 24 // applications, allowing customization of which interfaces are published to the |
25 // other. | 25 // other. |
26 class ConnectionImpl : public Connection { | 26 class ConnectionImpl : public Connection { |
27 public: | 27 public: |
28 ConnectionImpl(); | 28 ConnectionImpl(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const bool allow_all_interfaces_; | 74 const bool allow_all_interfaces_; |
75 | 75 |
76 base::WeakPtrFactory<ConnectionImpl> weak_factory_; | 76 base::WeakPtrFactory<ConnectionImpl> weak_factory_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(ConnectionImpl); | 78 DISALLOW_COPY_AND_ASSIGN(ConnectionImpl); |
79 }; | 79 }; |
80 | 80 |
81 } // namespace internal | 81 } // namespace internal |
82 } // namespace mojo | 82 } // namespace mojo |
83 | 83 |
84 #endif // MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ | 84 #endif // SERVICES_SHELL_PUBLIC_CPP_LIB_CONNECTION_IMPL_H_ |
OLD | NEW |