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

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

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (Closed)
Patch Set: . Created 3 years, 7 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
« no previous file with comments | « services/tracing/service.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Returns the user specific state for the user id of |remote_identity|. 109 // Returns the user specific state for the user id of |remote_identity|.
110 // Service owns the return value. 110 // Service owns the return value.
111 // TODO(sky): if we allow removal of user ids then we need to close anything 111 // TODO(sky): if we allow removal of user ids then we need to close anything
112 // associated with the user (all incoming pipes...) on removal. 112 // associated with the user (all incoming pipes...) on removal.
113 UserState* GetUserState(const service_manager::Identity& remote_identity); 113 UserState* GetUserState(const service_manager::Identity& remote_identity);
114 114
115 void AddUserIfNecessary(const service_manager::Identity& remote_identity); 115 void AddUserIfNecessary(const service_manager::Identity& remote_identity);
116 116
117 // service_manager::Service: 117 // service_manager::Service:
118 void OnStart() override; 118 void OnStart() override;
119 void OnBindInterface(const service_manager::ServiceInfo& source_info, 119 void OnBindInterface(const service_manager::BindSourceInfo& source_info,
120 const std::string& interface_name, 120 const std::string& interface_name,
121 mojo::ScopedMessagePipeHandle interface_pipe) override; 121 mojo::ScopedMessagePipeHandle interface_pipe) override;
122 122
123 // WindowServerDelegate: 123 // WindowServerDelegate:
124 void StartDisplayInit() override; 124 void StartDisplayInit() override;
125 void OnFirstDisplayReady() override; 125 void OnFirstDisplayReady() override;
126 void OnNoMoreDisplays() override; 126 void OnNoMoreDisplays() override;
127 bool IsTestConfig() const override; 127 bool IsTestConfig() const override;
128 void OnWillCreateTreeForWindowManager( 128 void OnWillCreateTreeForWindowManager(
129 bool automatically_create_display_roots) override; 129 bool automatically_create_display_roots) override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Set to true in StartDisplayInit(). 217 // Set to true in StartDisplayInit().
218 bool is_gpu_ready_ = false; 218 bool is_gpu_ready_ = false;
219 ScreenManagerConfig screen_manager_config_ = ScreenManagerConfig::UNKNOWN; 219 ScreenManagerConfig screen_manager_config_ = ScreenManagerConfig::UNKNOWN;
220 220
221 DISALLOW_COPY_AND_ASSIGN(Service); 221 DISALLOW_COPY_AND_ASSIGN(Service);
222 }; 222 };
223 223
224 } // namespace ui 224 } // namespace ui
225 225
226 #endif // SERVICES_UI_SERVICE_H_ 226 #endif // SERVICES_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « services/tracing/service.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698