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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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/shell/tests/shutdown/shutdown_service_app.cc ('k') | services/tracing/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 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 18 matching lines...) Expand all
29 public shell::InterfaceFactory<mojom::StartupPerformanceDataCollector>, 29 public shell::InterfaceFactory<mojom::StartupPerformanceDataCollector>,
30 public mojom::Factory, 30 public mojom::Factory,
31 public mojom::Collector, 31 public mojom::Collector,
32 public mojom::StartupPerformanceDataCollector { 32 public mojom::StartupPerformanceDataCollector {
33 public: 33 public:
34 Service(); 34 Service();
35 ~Service() override; 35 ~Service() override;
36 36
37 private: 37 private:
38 // shell::Service implementation. 38 // shell::Service implementation.
39 bool OnConnect(shell::Connection* connection) override; 39 bool OnConnect(const shell::Identity& remote_identity,
40 shell::InterfaceRegistry* registry) override;
40 bool OnStop() override; 41 bool OnStop() override;
41 42
42 // shell::InterfaceFactory<mojom::Factory>: 43 // shell::InterfaceFactory<mojom::Factory>:
43 void Create(const shell::Identity& remote_identity, 44 void Create(const shell::Identity& remote_identity,
44 mojom::FactoryRequest request) override; 45 mojom::FactoryRequest request) override;
45 46
46 // shell::InterfaceFactory<mojom::Collector>: 47 // shell::InterfaceFactory<mojom::Collector>:
47 void Create(const shell::Identity& remote_identity, 48 void Create(const shell::Identity& remote_identity,
48 mojom::CollectorRequest request) override; 49 mojom::CollectorRequest request) override;
49 50
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 mojom::StartupPerformanceTimes startup_performance_times_; 84 mojom::StartupPerformanceTimes startup_performance_times_;
84 bool tracing_active_; 85 bool tracing_active_;
85 mojo::String tracing_categories_; 86 mojo::String tracing_categories_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(Service); 88 DISALLOW_COPY_AND_ASSIGN(Service);
88 }; 89 };
89 90
90 } // namespace tracing 91 } // namespace tracing
91 92
92 #endif // SERVICES_TRACING_SERVICE_H_ 93 #endif // SERVICES_TRACING_SERVICE_H_
OLDNEW
« no previous file with comments | « services/shell/tests/shutdown/shutdown_service_app.cc ('k') | services/tracing/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698