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

Side by Side Diff: shell/external_application_registrar_connection.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
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_REGISTRAR_CONNECTION_H_ 5 #ifndef SHELL_EXTERNAL_APPLICATION_REGISTRAR_CONNECTION_H_
6 #define MOJO_SHELL_EXTERNAL_APPLICATION_REGISTRAR_CONNECTION_H_ 6 #define SHELL_EXTERNAL_APPLICATION_REGISTRAR_CONNECTION_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
12 #include "mojo/edk/embedder/channel_init.h" 12 #include "mojo/edk/embedder/channel_init.h"
13 #include "mojo/public/cpp/bindings/error_handler.h" 13 #include "mojo/public/cpp/bindings/error_handler.h"
14 #include "mojo/public/interfaces/application/application.mojom.h" 14 #include "mojo/public/interfaces/application/application.mojom.h"
15 #include "mojo/public/interfaces/application/shell.mojom.h" 15 #include "mojo/public/interfaces/application/shell.mojom.h"
16 #include "mojo/shell/domain_socket/socket_descriptor.h" 16 #include "shell/domain_socket/socket_descriptor.h"
17 #include "mojo/shell/domain_socket/unix_domain_client_socket_posix.h" 17 #include "shell/domain_socket/unix_domain_client_socket_posix.h"
18 #include "mojo/shell/external_application_registrar.mojom.h" 18 #include "shell/external_application_registrar.mojom.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 namespace mojo { 21 namespace mojo {
22 namespace shell { 22 namespace shell {
23 23
24 // Externally-running applications can use this class to discover and register 24 // Externally-running applications can use this class to discover and register
25 // with a running mojo_shell instance. 25 // with a running mojo_shell instance.
26 // MUST be run on an IO thread 26 // MUST be run on an IO thread
27 class ExternalApplicationRegistrarConnection : public ErrorHandler { 27 class ExternalApplicationRegistrarConnection : public ErrorHandler {
28 public: 28 public:
(...skipping 22 matching lines...) Expand all
51 void OnConnect(CompletionCallback callback, int rv); 51 void OnConnect(CompletionCallback callback, int rv);
52 52
53 scoped_ptr<UnixDomainClientSocket> client_socket_; 53 scoped_ptr<UnixDomainClientSocket> client_socket_;
54 mojo::embedder::ChannelInit channel_init_; 54 mojo::embedder::ChannelInit channel_init_;
55 ExternalApplicationRegistrarPtr registrar_; 55 ExternalApplicationRegistrarPtr registrar_;
56 }; 56 };
57 57
58 } // namespace shell 58 } // namespace shell
59 } // namespace mojo 59 } // namespace mojo
60 60
61 #endif // MOJO_SHELL_EXTERNAL_APPLICATION_REGISTRAR_CONNECTION_H_ 61 #endif // SHELL_EXTERNAL_APPLICATION_REGISTRAR_CONNECTION_H_
OLDNEW
« no previous file with comments | « shell/external_application_registrar.mojom ('k') | shell/external_application_registrar_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698