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

Side by Side Diff: services/service_manager/public/cpp/service_context.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_SERVICE_CONTEXT_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_SERVICE_CONTEXT_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "mojo/public/cpp/bindings/binding.h" 14 #include "mojo/public/cpp/bindings/binding.h"
15 #include "mojo/public/cpp/system/core.h" 15 #include "mojo/public/cpp/system/core.h"
16 #include "services/shell/public/cpp/connector.h" 16 #include "services/service_manager/public/cpp/connector.h"
17 #include "services/shell/public/cpp/service.h" 17 #include "services/service_manager/public/cpp/service.h"
18 #include "services/shell/public/interfaces/connector.mojom.h" 18 #include "services/service_manager/public/interfaces/connector.mojom.h"
19 #include "services/shell/public/interfaces/service.mojom.h" 19 #include "services/service_manager/public/interfaces/service.mojom.h"
20 20
21 namespace shell { 21 namespace shell {
22 22
23 // Encapsulates a connection to the Service Manager in two parts: 23 // Encapsulates a connection to the Service Manager in two parts:
24 // - a bound InterfacePtr to mojom::Connector, the primary mechanism 24 // - a bound InterfacePtr to mojom::Connector, the primary mechanism
25 // by which the instantiating service connects to other services, 25 // by which the instantiating service connects to other services,
26 // brokered by the Service Manager. 26 // brokered by the Service Manager.
27 // - a bound InterfaceRequest of mojom::Service, an interface used by the 27 // - a bound InterfaceRequest of mojom::Service, an interface used by the
28 // Service Manager to inform this service of lifecycle events and 28 // Service Manager to inform this service of lifecycle events and
29 // inbound connections brokered by it. 29 // inbound connections brokered by it.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 shell::Identity identity_; 91 shell::Identity identity_;
92 bool should_run_connection_lost_closure_ = false; 92 bool should_run_connection_lost_closure_ = false;
93 93
94 base::Closure connection_lost_closure_; 94 base::Closure connection_lost_closure_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(ServiceContext); 96 DISALLOW_COPY_AND_ASSIGN(ServiceContext);
97 }; 97 };
98 98
99 } // namespace shell 99 } // namespace shell
100 100
101 #endif // SERVICES_SHELL_PUBLIC_CPP_SERVICE_CONTEXT_H_ 101 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/service.gni ('k') | services/service_manager/public/cpp/service_context_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698