| 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 SERVICES_SHELL_CONNECT_PARAMS_H_ |
| 6 #define MOJO_SHELL_CONNECT_PARAMS_H_ | 6 #define SERVICES_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/public/cpp/identity.h" | 14 #include "services/shell/public/cpp/identity.h" |
| 15 #include "mojo/shell/public/interfaces/connector.mojom.h" | 15 #include "services/shell/public/interfaces/connector.mojom.h" |
| 16 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 16 #include "services/shell/public/interfaces/interface_provider.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 shell::mojom::InterfaceProviderPtr local_interfaces_; | 71 shell::mojom::InterfaceProviderPtr local_interfaces_; |
| 72 shell::mojom::ClientProcessConnectionPtr client_process_connection_; | 72 shell::mojom::ClientProcessConnectionPtr client_process_connection_; |
| 73 shell::mojom::Connector::ConnectCallback connect_callback_; | 73 shell::mojom::Connector::ConnectCallback connect_callback_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(ConnectParams); | 75 DISALLOW_COPY_AND_ASSIGN(ConnectParams); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace shell | 78 } // namespace shell |
| 79 } // namespace mojo | 79 } // namespace mojo |
| 80 | 80 |
| 81 #endif // MOJO_SHELL_CONNECT_PARAMS_H_ | 81 #endif // SERVICES_SHELL_CONNECT_PARAMS_H_ |
| OLD | NEW |