OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ | 5 #ifndef MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ |
6 #define MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ | 6 #define MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ |
7 | 7 |
8 #include "mojo/shell/external_application_listener.h" | 8 #include "mojo/shell/external_application_listener.h" |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
18 #include "mojo/embedder/channel_init.h" | 18 #include "mojo/edk/embedder/channel_init.h" |
19 #include "mojo/public/interfaces/application/shell.mojom.h" | 19 #include "mojo/public/interfaces/application/shell.mojom.h" |
20 #include "mojo/shell/external_application_registrar.mojom.h" | 20 #include "mojo/shell/external_application_registrar.mojom.h" |
21 #include "mojo/shell/incoming_connection_listener_posix.h" | 21 #include "mojo/shell/incoming_connection_listener_posix.h" |
22 #include "net/socket/socket_descriptor.h" | 22 #include "net/socket/socket_descriptor.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 // In order to support Mojo apps whose lifetime is managed by | 28 // In order to support Mojo apps whose lifetime is managed by |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 base::ThreadChecker register_thread_checker_; | 121 base::ThreadChecker register_thread_checker_; |
122 | 122 |
123 // Used on shell_runner_. | 123 // Used on shell_runner_. |
124 base::WeakPtrFactory<ExternalApplicationListenerPosix> weak_ptr_factory_; | 124 base::WeakPtrFactory<ExternalApplicationListenerPosix> weak_ptr_factory_; |
125 }; | 125 }; |
126 | 126 |
127 } // namespace shell | 127 } // namespace shell |
128 } // namespace mojo | 128 } // namespace mojo |
129 | 129 |
130 #endif // MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ | 130 #endif // MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ |
OLD | NEW |