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

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

Issue 2852183002: Delete the tracing service (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/ui/ime/BUILD.gn ('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>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "components/discardable_memory/public/interfaces/discardable_shared_mem ory_manager.mojom.h" 16 #include "components/discardable_memory/public/interfaces/discardable_shared_mem ory_manager.mojom.h"
17 #include "services/service_manager/public/cpp/binder_registry.h" 17 #include "services/service_manager/public/cpp/binder_registry.h"
18 #include "services/service_manager/public/cpp/interface_factory.h" 18 #include "services/service_manager/public/cpp/interface_factory.h"
19 #include "services/service_manager/public/cpp/service.h" 19 #include "services/service_manager/public/cpp/service.h"
20 #include "services/service_manager/public/cpp/service_runner.h" 20 #include "services/service_manager/public/cpp/service_runner.h"
21 #include "services/tracing/public/cpp/provider.h"
22 #include "services/ui/ime/ime_registrar_impl.h" 21 #include "services/ui/ime/ime_registrar_impl.h"
23 #include "services/ui/ime/ime_server_impl.h" 22 #include "services/ui/ime/ime_server_impl.h"
24 #include "services/ui/input_devices/input_device_server.h" 23 #include "services/ui/input_devices/input_device_server.h"
25 #include "services/ui/public/interfaces/accessibility_manager.mojom.h" 24 #include "services/ui/public/interfaces/accessibility_manager.mojom.h"
26 #include "services/ui/public/interfaces/clipboard.mojom.h" 25 #include "services/ui/public/interfaces/clipboard.mojom.h"
27 #include "services/ui/public/interfaces/display_manager.mojom.h" 26 #include "services/ui/public/interfaces/display_manager.mojom.h"
28 #include "services/ui/public/interfaces/gpu.mojom.h" 27 #include "services/ui/public/interfaces/gpu.mojom.h"
29 #include "services/ui/public/interfaces/ime/ime.mojom.h" 28 #include "services/ui/public/interfaces/ime/ime.mojom.h"
30 #include "services/ui/public/interfaces/user_access_manager.mojom.h" 29 #include "services/ui/public/interfaces/user_access_manager.mojom.h"
31 #include "services/ui/public/interfaces/user_activity_monitor.mojom.h" 30 #include "services/ui/public/interfaces/user_activity_monitor.mojom.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void Create(const service_manager::Identity& remote_identity, 179 void Create(const service_manager::Identity& remote_identity,
181 discardable_memory::mojom::DiscardableSharedMemoryManagerRequest 180 discardable_memory::mojom::DiscardableSharedMemoryManagerRequest
182 request) override; 181 request) override;
183 182
184 // service_manager::InterfaceFactory<mojom::WindowServerTest> implementation. 183 // service_manager::InterfaceFactory<mojom::WindowServerTest> implementation.
185 void Create(const service_manager::Identity& remote_identity, 184 void Create(const service_manager::Identity& remote_identity,
186 mojom::WindowServerTestRequest request) override; 185 mojom::WindowServerTestRequest request) override;
187 186
188 std::unique_ptr<ws::WindowServer> window_server_; 187 std::unique_ptr<ws::WindowServer> window_server_;
189 std::unique_ptr<ui::PlatformEventSource> event_source_; 188 std::unique_ptr<ui::PlatformEventSource> event_source_;
190 tracing::Provider tracing_;
191 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>; 189 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>;
192 PendingRequests pending_requests_; 190 PendingRequests pending_requests_;
193 191
194 UserIdToUserState user_id_to_user_state_; 192 UserIdToUserState user_id_to_user_state_;
195 193
196 // Provides input-device information via Mojo IPC. Registers Mojo interfaces 194 // Provides input-device information via Mojo IPC. Registers Mojo interfaces
197 // and must outlive |registry_|. 195 // and must outlive |registry_|.
198 InputDeviceServer input_device_server_; 196 InputDeviceServer input_device_server_;
199 197
200 bool test_config_; 198 bool test_config_;
(...skipping 16 matching lines...) Expand all
217 // Set to true in StartDisplayInit(). 215 // Set to true in StartDisplayInit().
218 bool is_gpu_ready_ = false; 216 bool is_gpu_ready_ = false;
219 ScreenManagerConfig screen_manager_config_ = ScreenManagerConfig::UNKNOWN; 217 ScreenManagerConfig screen_manager_config_ = ScreenManagerConfig::UNKNOWN;
220 218
221 DISALLOW_COPY_AND_ASSIGN(Service); 219 DISALLOW_COPY_AND_ASSIGN(Service);
222 }; 220 };
223 221
224 } // namespace ui 222 } // namespace ui
225 223
226 #endif // SERVICES_UI_SERVICE_H_ 224 #endif // SERVICES_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « services/ui/ime/BUILD.gn ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698