| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TRACING_SERVICE_H_ | 5 #ifndef SERVICES_TRACING_SERVICE_H_ |
| 6 #define SERVICES_TRACING_SERVICE_H_ | 6 #define SERVICES_TRACING_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 mojom::StartupPerformanceDataCollector>, | 30 mojom::StartupPerformanceDataCollector>, |
| 31 public mojom::Factory, | 31 public mojom::Factory, |
| 32 public mojom::Collector, | 32 public mojom::Collector, |
| 33 public mojom::StartupPerformanceDataCollector { | 33 public mojom::StartupPerformanceDataCollector { |
| 34 public: | 34 public: |
| 35 Service(); | 35 Service(); |
| 36 ~Service() override; | 36 ~Service() override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // service_manager::Service implementation. | 39 // service_manager::Service implementation. |
| 40 void OnBindInterface(const service_manager::ServiceInfo& source_info, | 40 void OnBindInterface(const service_manager::BindSourceInfo& source_info, |
| 41 const std::string& interface_name, | 41 const std::string& interface_name, |
| 42 mojo::ScopedMessagePipeHandle interface_pipe) override; | 42 mojo::ScopedMessagePipeHandle interface_pipe) override; |
| 43 bool OnServiceManagerConnectionLost() override; | 43 bool OnServiceManagerConnectionLost() override; |
| 44 | 44 |
| 45 // service_manager::InterfaceFactory<mojom::Factory>: | 45 // service_manager::InterfaceFactory<mojom::Factory>: |
| 46 void Create(const service_manager::Identity& remote_identity, | 46 void Create(const service_manager::Identity& remote_identity, |
| 47 mojom::FactoryRequest request) override; | 47 mojom::FactoryRequest request) override; |
| 48 | 48 |
| 49 // service_manager::InterfaceFactory<mojom::Collector>: | 49 // service_manager::InterfaceFactory<mojom::Collector>: |
| 50 void Create(const service_manager::Identity& remote_identity, | 50 void Create(const service_manager::Identity& remote_identity, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 mojom::StartupPerformanceTimes startup_performance_times_; | 86 mojom::StartupPerformanceTimes startup_performance_times_; |
| 87 bool tracing_active_; | 87 bool tracing_active_; |
| 88 std::string tracing_categories_; | 88 std::string tracing_categories_; |
| 89 | 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(Service); | 90 DISALLOW_COPY_AND_ASSIGN(Service); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace tracing | 93 } // namespace tracing |
| 94 | 94 |
| 95 #endif // SERVICES_TRACING_SERVICE_H_ | 95 #endif // SERVICES_TRACING_SERVICE_H_ |
| OLD | NEW |