Attention needed from Kartar Singh
Devon Loehr has uploaded the change for review![Open in Gerrit]()
Devon Loehr would like Kartar Singh to review this change.
Commit message
Update classes to match chrome style requirements
Recent changes to llvm have caused our style plugin to flag
additional parts of the code that it missed before. Fix
the warnings by adding variosu constructors/destructors,
and/or moving their definitions to .cc files, as needed.
This change applies to the following directories:
services
This CL was uploaded by git cl split.
R=karta...@google.com
Bug: 437910658
Change-Id: I62838ac710586f9ad360702222b9b26e1525584c
Change diff
diff --git a/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc b/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
index c5d1f22d..1b942f8b 100644
--- a/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
+++ b/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
@@ -284,6 +284,8 @@
} // namespace
+TracingSamplerProfiler::DataSource::DataSource() = default;
+
TracingSamplerProfiler::DataSource::~DataSource() = default;
void TracingSamplerProfiler::DataSource::OnSetup(const SetupArgs& args) {
diff --git a/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h b/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
index b8f18e4..962740ef 100644
--- a/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
+++ b/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
@@ -66,7 +66,7 @@
using TraceContext = perfetto::DataSource<DataSource>::TraceContext;
- DataSource() = default;
+ DataSource();
~DataSource() override;
void OnSetup(const SetupArgs& args) override;
Change information
Files:
- M services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
- M services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
Change size: XS
Delta: 2 files changed, 3 insertions(+), 1 deletion(-)
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I62838ac710586f9ad360702222b9b26e1525584c
Gerrit-Change-Number: 6860002
Gerrit-PatchSet: 1