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

Side by Side Diff: services/ui/service.h

Issue 2487573002: Service Manager: Remove ServiceContext* arg from Service::OnStart() (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « services/ui/ime/test_ime_driver/test_ime_application.cc ('k') | services/ui/service.cc » ('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 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_UI_SERVICE_H_ 5 #ifndef SERVICES_UI_SERVICE_H_
6 #define SERVICES_UI_SERVICE_H_ 6 #define SERVICES_UI_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // Returns the user specific state for the user id of |remote_identity|. 94 // Returns the user specific state for the user id of |remote_identity|.
95 // Service owns the return value. 95 // Service owns the return value.
96 // TODO(sky): if we allow removal of user ids then we need to close anything 96 // TODO(sky): if we allow removal of user ids then we need to close anything
97 // associated with the user (all incoming pipes...) on removal. 97 // associated with the user (all incoming pipes...) on removal.
98 UserState* GetUserState(const service_manager::Identity& remote_identity); 98 UserState* GetUserState(const service_manager::Identity& remote_identity);
99 99
100 void AddUserIfNecessary(const service_manager::Identity& remote_identity); 100 void AddUserIfNecessary(const service_manager::Identity& remote_identity);
101 101
102 // service_manager::Service: 102 // service_manager::Service:
103 void OnStart(service_manager::ServiceContext* context) override; 103 void OnStart() override;
104 bool OnConnect(const service_manager::ServiceInfo& remote_info, 104 bool OnConnect(const service_manager::ServiceInfo& remote_info,
105 service_manager::InterfaceRegistry* registry) override; 105 service_manager::InterfaceRegistry* registry) override;
106 106
107 // WindowServerDelegate: 107 // WindowServerDelegate:
108 void OnFirstDisplayReady() override; 108 void OnFirstDisplayReady() override;
109 void OnNoMoreDisplays() override; 109 void OnNoMoreDisplays() override;
110 bool IsTestConfig() const override; 110 bool IsTestConfig() const override;
111 void UpdateTouchTransforms() override; 111 void UpdateTouchTransforms() override;
112 112
113 // service_manager::InterfaceFactory<mojom::AccessibilityManager> 113 // service_manager::InterfaceFactory<mojom::AccessibilityManager>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 std::unique_ptr<ws::TouchController> touch_controller_; 185 std::unique_ptr<ws::TouchController> touch_controller_;
186 IMERegistrarImpl ime_registrar_; 186 IMERegistrarImpl ime_registrar_;
187 IMEServerImpl ime_server_; 187 IMEServerImpl ime_server_;
188 188
189 DISALLOW_COPY_AND_ASSIGN(Service); 189 DISALLOW_COPY_AND_ASSIGN(Service);
190 }; 190 };
191 191
192 } // namespace ui 192 } // namespace ui
193 193
194 #endif // SERVICES_UI_SERVICE_H_ 194 #endif // SERVICES_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « services/ui/ime/test_ime_driver/test_ime_application.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698