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

Side by Side Diff: services/service_manager/public/cpp/service.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_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_SERVICE_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "services/shell/public/cpp/interface_registry.h" 12 #include "services/service_manager/public/cpp/interface_registry.h"
13 13
14 namespace shell { 14 namespace shell {
15 15
16 class Connector; 16 class Connector;
17 class Identity; 17 class Identity;
18 class InterfaceRegistry; 18 class InterfaceRegistry;
19 class ServiceContext; 19 class ServiceContext;
20 20
21 // The primary contract between a Service and the Service Manager, receiving 21 // The primary contract between a Service and the Service Manager, receiving
22 // lifecycle notifications and connection requests. 22 // lifecycle notifications and connection requests.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void set_context(std::unique_ptr<ServiceContext> context); 58 void set_context(std::unique_ptr<ServiceContext> context);
59 59
60 private: 60 private:
61 std::unique_ptr<ServiceContext> context_; 61 std::unique_ptr<ServiceContext> context_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(Service); 63 DISALLOW_COPY_AND_ASSIGN(Service);
64 }; 64 };
65 65
66 } // namespace shell 66 } // namespace shell
67 67
68 #endif // SERVICES_SHELL_PUBLIC_CPP_SERVICE_H_ 68 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/names.h ('k') | services/service_manager/public/cpp/service.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698