| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/process/process_handle.h" | 15 #include "base/process/process_handle.h" |
| 16 #include "mojo/application/public/interfaces/application.mojom.h" | |
| 17 #include "mojo/application/public/interfaces/application_manager.mojom.h" | |
| 18 #include "mojo/application/public/interfaces/shell.mojom.h" | |
| 19 #include "mojo/public/cpp/bindings/binding.h" | 16 #include "mojo/public/cpp/bindings/binding.h" |
| 20 #include "mojo/shell/capability_filter.h" | 17 #include "mojo/shell/capability_filter.h" |
| 21 #include "mojo/shell/connect_to_application_params.h" | 18 #include "mojo/shell/connect_to_application_params.h" |
| 22 #include "mojo/shell/identity.h" | 19 #include "mojo/shell/identity.h" |
| 20 #include "mojo/shell/public/interfaces/application.mojom.h" |
| 21 #include "mojo/shell/public/interfaces/application_manager.mojom.h" |
| 22 #include "mojo/shell/public/interfaces/shell.mojom.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace mojo { | 25 namespace mojo { |
| 26 namespace shell { | 26 namespace shell { |
| 27 | 27 |
| 28 class ApplicationManager; | 28 class ApplicationManager; |
| 29 class NativeRunner; | 29 class NativeRunner; |
| 30 | 30 |
| 31 // Encapsulates a connection to an instance of an application, tracked by the | 31 // Encapsulates a connection to an instance of an application, tracked by the |
| 32 // shell's ApplicationManager. | 32 // shell's ApplicationManager. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 NativeRunner* native_runner_; | 106 NativeRunner* native_runner_; |
| 107 base::ProcessId pid_; | 107 base::ProcessId pid_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(ApplicationInstance); | 109 DISALLOW_COPY_AND_ASSIGN(ApplicationInstance); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace shell | 112 } // namespace shell |
| 113 } // namespace mojo | 113 } // namespace mojo |
| 114 | 114 |
| 115 #endif // MOJO_SHELL_APPLICATION_INSTANCE_H_ | 115 #endif // MOJO_SHELL_APPLICATION_INSTANCE_H_ |
| OLD | NEW |