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_TO_APPLICATION_PARAMS_H_ | 5 #ifndef MOJO_SHELL_CONNECT_TO_APPLICATION_PARAMS_H_ |
6 #define MOJO_SHELL_CONNECT_TO_APPLICATION_PARAMS_H_ | 6 #define MOJO_SHELL_CONNECT_TO_APPLICATION_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/application/public/interfaces/service_provider.mojom.h" | |
14 #include "mojo/application/public/interfaces/shell.mojom.h" | |
15 #include "mojo/public/cpp/bindings/interface_request.h" | 13 #include "mojo/public/cpp/bindings/interface_request.h" |
16 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
17 #include "mojo/shell/identity.h" | 15 #include "mojo/shell/identity.h" |
| 16 #include "mojo/shell/public/interfaces/service_provider.mojom.h" |
| 17 #include "mojo/shell/public/interfaces/shell.mojom.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 | 19 |
20 namespace mojo { | 20 namespace mojo { |
21 namespace shell { | 21 namespace shell { |
22 | 22 |
23 class ApplicationInstance; | 23 class ApplicationInstance; |
24 | 24 |
25 // This class represents a request for the application manager to connect to an | 25 // This class represents a request for the application manager to connect to an |
26 // application. | 26 // application. |
27 class ConnectToApplicationParams { | 27 class ConnectToApplicationParams { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 base::Closure on_application_end_; | 94 base::Closure on_application_end_; |
95 Shell::ConnectToApplicationCallback connect_callback_; | 95 Shell::ConnectToApplicationCallback connect_callback_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(ConnectToApplicationParams); | 97 DISALLOW_COPY_AND_ASSIGN(ConnectToApplicationParams); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace shell | 100 } // namespace shell |
101 } // namespace mojo | 101 } // namespace mojo |
102 | 102 |
103 #endif // MOJO_SHELL_CONNECT_TO_APPLICATION_PARAMS_H_ | 103 #endif // MOJO_SHELL_CONNECT_TO_APPLICATION_PARAMS_H_ |
OLD | NEW |