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

Side by Side Diff: mojo/shell/public/cpp/connector.h

Issue 1764253002: Rename shell.mojom to connector.mojom, ApplicationManager to Shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@32exe
Patch Set: . Created 4 years, 9 months 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 | « mojo/shell/native_runner.h ('k') | mojo/shell/public/cpp/lib/connection_impl.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PUBLIC_CPP_CONNECTOR_H_ 5 #ifndef MOJO_SHELL_PUBLIC_CPP_CONNECTOR_H_
6 #define MOJO_SHELL_PUBLIC_CPP_CONNECTOR_H_ 6 #define MOJO_SHELL_PUBLIC_CPP_CONNECTOR_H_
7 7
8 #include "mojo/shell/public/cpp/connection.h" 8 #include "mojo/shell/public/cpp/connection.h"
9 #include "mojo/shell/public/interfaces/shell.mojom.h" 9 #include "mojo/shell/public/interfaces/connector.mojom.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 // An interface that encapsulates the Mojo Shell's broker interface by which 13 // An interface that encapsulates the Mojo Shell's broker interface by which
14 // connections between applications are established. Once Connect() is called, 14 // connections between applications are established. Once Connect() is called,
15 // this class is bound to the thread the call was made on and it cannot be 15 // this class is bound to the thread the call was made on and it cannot be
16 // passed to another thread without calling Clone(). 16 // passed to another thread without calling Clone().
17 // An instance of this class is created internally by ShellConnection for use 17 // An instance of this class is created internally by ShellConnection for use
18 // on the thread ShellConnection is instantiated on, and this interface is 18 // on the thread ShellConnection is instantiated on, and this interface is
19 // wrapped by the Shell interface. 19 // wrapped by the Shell interface.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Creates a new instance of this class which may be passed to another thread. 71 // Creates a new instance of this class which may be passed to another thread.
72 // The returned object may be passed multiple times until Connect() is called, 72 // The returned object may be passed multiple times until Connect() is called,
73 // at which point this method must be called again to pass again. 73 // at which point this method must be called again to pass again.
74 virtual scoped_ptr<Connector> Clone() = 0; 74 virtual scoped_ptr<Connector> Clone() = 0;
75 }; 75 };
76 76
77 } // namespace mojo 77 } // namespace mojo
78 78
79 #endif // MOJO_SHELL_PUBLIC_CPP_CONNECTOR_H_ 79 #endif // MOJO_SHELL_PUBLIC_CPP_CONNECTOR_H_
OLDNEW
« no previous file with comments | « mojo/shell/native_runner.h ('k') | mojo/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698