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

Side by Side Diff: services/service_manager/public/cpp/connection.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 SERVICES_SHELL_PUBLIC_CPP_CONNECTION_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_CONNECTION_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_CONNECTION_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_CONNECTION_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "services/shell/public/cpp/identity.h" 9 #include "services/service_manager/public/cpp/identity.h"
10 #include "services/shell/public/cpp/interface_provider.h" 10 #include "services/service_manager/public/cpp/interface_provider.h"
11 #include "services/shell/public/interfaces/connector.mojom.h" 11 #include "services/service_manager/public/interfaces/connector.mojom.h"
12 12
13 namespace shell { 13 namespace shell {
14 14
15 class InterfaceProvider; 15 class InterfaceProvider;
16 16
17 // Represents a connection to another application. An implementation of this 17 // Represents a connection to another application. An implementation of this
18 // interface is returned from Connector::Connect(). 18 // interface is returned from Connector::Connect().
19 class Connection { 19 class Connection {
20 public: 20 public:
21 virtual ~Connection() {} 21 virtual ~Connection() {}
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Returns an object encapsulating a remote InterfaceProvider. 85 // Returns an object encapsulating a remote InterfaceProvider.
86 virtual InterfaceProvider* GetRemoteInterfaces() = 0; 86 virtual InterfaceProvider* GetRemoteInterfaces() = 0;
87 87
88 protected: 88 protected:
89 virtual base::WeakPtr<Connection> GetWeakPtr() = 0; 89 virtual base::WeakPtr<Connection> GetWeakPtr() = 0;
90 }; 90 };
91 91
92 } // namespace shell 92 } // namespace shell
93 93
94 #endif // SERVICES_SHELL_PUBLIC_CPP_CONNECTION_H_ 94 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_CONNECTION_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/connect.h ('k') | services/service_manager/public/cpp/connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698