| 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/interface_provider.mojom.h" | 15 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" |
| 16 #include "mojo/shell/public/interfaces/shell.mojom.h" | 16 #include "mojo/shell/public/interfaces/shell.mojom.h" |
| 17 #include "url/gurl.h" | |
| 18 | 17 |
| 19 namespace mojo { | 18 namespace mojo { |
| 20 namespace shell { | 19 namespace shell { |
| 21 | 20 |
| 22 // 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 |
| 23 // application. | 22 // application. |
| 24 class ConnectParams { | 23 class ConnectParams { |
| 25 public: | 24 public: |
| 26 ConnectParams(); | 25 ConnectParams(); |
| 27 ~ConnectParams(); | 26 ~ConnectParams(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 shell::mojom::InterfaceProviderPtr local_interfaces_; | 63 shell::mojom::InterfaceProviderPtr local_interfaces_; |
| 65 shell::mojom::Connector::ConnectCallback connect_callback_; | 64 shell::mojom::Connector::ConnectCallback connect_callback_; |
| 66 | 65 |
| 67 DISALLOW_COPY_AND_ASSIGN(ConnectParams); | 66 DISALLOW_COPY_AND_ASSIGN(ConnectParams); |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace shell | 69 } // namespace shell |
| 71 } // namespace mojo | 70 } // namespace mojo |
| 72 | 71 |
| 73 #endif // MOJO_SHELL_CONNECT_PARAMS_H_ | 72 #endif // MOJO_SHELL_CONNECT_PARAMS_H_ |
| OLD | NEW |