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

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

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
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_APPLICATION_PUBLIC_CPP_APPLICATION_CONNECTION_H_ 5 #ifndef MOJO_SHELL_PUBLIC_CPP_APPLICATION_CONNECTION_H_
6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_CONNECTION_H_ 6 #define MOJO_SHELL_PUBLIC_CPP_APPLICATION_CONNECTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "mojo/application/public/cpp/lib/interface_factory_connector.h" 14 #include "mojo/shell/public/cpp/lib/interface_factory_connector.h"
15 #include "mojo/application/public/interfaces/service_provider.mojom.h" 15 #include "mojo/shell/public/interfaces/service_provider.mojom.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 18
19 class ServiceConnector; 19 class ServiceConnector;
20 20
21 // Represents a connection to another application. An instance of this class is 21 // Represents a connection to another application. An instance of this class is
22 // passed to ApplicationDelegate's ConfigureIncomingConnection() method each 22 // passed to ApplicationDelegate's ConfigureIncomingConnection() method each
23 // time a connection is made to this app, and to ApplicationDelegate's 23 // time a connection is made to this app, and to ApplicationDelegate's
24 // ConfigureOutgoingConnection() method when the app connects to another. 24 // ConfigureOutgoingConnection() method when the app connects to another.
25 // 25 //
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Returns true if the connector was set, false if it was not set (e.g. by 134 // Returns true if the connector was set, false if it was not set (e.g. by
135 // some filtering policy preventing this interface from being exposed). 135 // some filtering policy preventing this interface from being exposed).
136 virtual bool SetServiceConnectorForName(ServiceConnector* service_connector, 136 virtual bool SetServiceConnectorForName(ServiceConnector* service_connector,
137 const std::string& name) = 0; 137 const std::string& name) = 0;
138 138
139 virtual base::WeakPtr<ApplicationConnection> GetWeakPtr() = 0; 139 virtual base::WeakPtr<ApplicationConnection> GetWeakPtr() = 0;
140 }; 140 };
141 141
142 } // namespace mojo 142 } // namespace mojo
143 143
144 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_CONNECTION_H_ 144 #endif // MOJO_SHELL_PUBLIC_CPP_APPLICATION_CONNECTION_H_
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/app_lifetime_helper.h ('k') | mojo/shell/public/cpp/application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698