OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CONNECT_PARAMS_H_ | 5 #ifndef MOJO_SHELL_CONNECT_PARAMS_H_ |
6 #define MOJO_SHELL_CONNECT_PARAMS_H_ | 6 #define MOJO_SHELL_CONNECT_PARAMS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "mojo/public/cpp/bindings/interface_request.h" | 13 #include "mojo/public/cpp/bindings/interface_request.h" |
14 #include "mojo/shell/identity.h" | 14 #include "mojo/shell/identity.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 shell { | 19 namespace shell { |
20 | 20 |
21 // This class represents a request for the application manager to connect to an | 21 // This class represents a request for the application manager to connect to an |
22 // application. | 22 // application. |
23 class ConnectParams { | 23 class ConnectParams { |
24 public: | 24 public: |
25 ConnectParams(); | 25 ConnectParams(); |
26 ~ConnectParams(); | 26 ~ConnectParams(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 shell::mojom::InterfaceProviderPtr local_interfaces_; | 63 shell::mojom::InterfaceProviderPtr local_interfaces_; |
64 shell::mojom::Connector::ConnectCallback connect_callback_; | 64 shell::mojom::Connector::ConnectCallback connect_callback_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(ConnectParams); | 66 DISALLOW_COPY_AND_ASSIGN(ConnectParams); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace shell | 69 } // namespace shell |
70 } // namespace mojo | 70 } // namespace mojo |
71 | 71 |
72 #endif // MOJO_SHELL_CONNECT_PARAMS_H_ | 72 #endif // MOJO_SHELL_CONNECT_PARAMS_H_ |
OLD | NEW |