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_APPLICATION_INSTANCE_H_ | 5 #ifndef MOJO_SHELL_APPLICATION_INSTANCE_H_ |
6 #define MOJO_SHELL_APPLICATION_INSTANCE_H_ | 6 #define MOJO_SHELL_APPLICATION_INSTANCE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "mojo/application/public/interfaces/application.mojom.h" | 12 #include "mojo/application/public/interfaces/application.mojom.h" |
13 #include "mojo/application/public/interfaces/shell.mojom.h" | 13 #include "mojo/application/public/interfaces/shell.mojom.h" |
14 #include "mojo/public/cpp/bindings/binding.h" | |
15 #include "mojo/shell/capability_filter.h" | 14 #include "mojo/shell/capability_filter.h" |
16 #include "mojo/shell/connect_to_application_params.h" | 15 #include "mojo/shell/connect_to_application_params.h" |
17 #include "mojo/shell/identity.h" | 16 #include "mojo/shell/identity.h" |
| 17 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.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 ApplicationManager; | 23 class ApplicationManager; |
24 | 24 |
25 // Encapsulates a connection to an instance of an application, tracked by the | 25 // Encapsulates a connection to an instance of an application, tracked by the |
26 // shell's ApplicationManager. | 26 // shell's ApplicationManager. |
27 class ApplicationInstance : public Shell { | 27 class ApplicationInstance : public Shell { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 bool queue_requests_; | 77 bool queue_requests_; |
78 std::vector<ConnectToApplicationParams*> queued_client_requests_; | 78 std::vector<ConnectToApplicationParams*> queued_client_requests_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(ApplicationInstance); | 80 DISALLOW_COPY_AND_ASSIGN(ApplicationInstance); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace shell | 83 } // namespace shell |
84 } // namespace mojo | 84 } // namespace mojo |
85 | 85 |
86 #endif // MOJO_SHELL_APPLICATION_INSTANCE_H_ | 86 #endif // MOJO_SHELL_APPLICATION_INSTANCE_H_ |
OLD | NEW |