Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: shell/external_application_listener_posix.h

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/external_application_listener.h ('k') | shell/external_application_listener_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_
6 #define MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ 6 #define SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_
7 7
8 #include "mojo/shell/external_application_listener.h" 8 #include "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/edk/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/domain_socket/socket_descriptor.h" 20 #include "shell/domain_socket/socket_descriptor.h"
21 #include "mojo/shell/external_application_registrar.mojom.h" 21 #include "shell/external_application_registrar.mojom.h"
22 #include "mojo/shell/incoming_connection_listener_posix.h" 22 #include "shell/incoming_connection_listener_posix.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
29 // something other than mojo_shell, mojo_shell needs to support a 29 // something other than mojo_shell, mojo_shell needs to support a
30 // mechanism by which such an application can discover a running shell 30 // mechanism by which such an application can discover a running shell
31 // instance, connect to it, and ask to be "registered" at a given 31 // instance, connect to it, and ask to be "registered" at a given
32 // URL. Registration implies that the app can be connected to at that 32 // URL. Registration implies that the app can be connected to at that
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 RegisterCallback register_callback_; 119 RegisterCallback register_callback_;
120 base::ThreadChecker register_thread_checker_; 120 base::ThreadChecker register_thread_checker_;
121 121
122 // Used on shell_runner_. 122 // Used on shell_runner_.
123 base::WeakPtrFactory<ExternalApplicationListenerPosix> weak_ptr_factory_; 123 base::WeakPtrFactory<ExternalApplicationListenerPosix> weak_ptr_factory_;
124 }; 124 };
125 125
126 } // namespace shell 126 } // namespace shell
127 } // namespace mojo 127 } // namespace mojo
128 128
129 #endif // MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_ 129 #endif // SHELL_EXTERNAL_APPLICATION_LISTENER_POSIX_H_
OLDNEW
« no previous file with comments | « shell/external_application_listener.h ('k') | shell/external_application_listener_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698