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

Unified Diff: components/metrics/child_call_stack_profile_collector_unittest.cc

Issue 2927593002: Make stack sampling profiler sample beyond startup. (Closed)
Patch Set: Remove debug log statements. Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/metrics/child_call_stack_profile_collector_unittest.cc
diff --git a/components/metrics/child_call_stack_profile_collector_unittest.cc b/components/metrics/child_call_stack_profile_collector_unittest.cc
index 9a3a67af92d5be1ddd7012df5ab6f7a7a7c1c44a..a00336c20605b190b2be054efe29e5cd6c384d12 100644
--- a/components/metrics/child_call_stack_profile_collector_unittest.cc
+++ b/components/metrics/child_call_stack_profile_collector_unittest.cc
@@ -30,7 +30,7 @@ class ChildCallStackProfileCollectorTest : public testing::Test {
public:
using CallStackProfile = base::StackSamplingProfiler::CallStackProfile;
- Receiver(mojom::CallStackProfileCollectorRequest request)
+ explicit Receiver(mojom::CallStackProfileCollectorRequest request)
: binding_(this, std::move(request)) {}
~Receiver() override {}
@@ -73,6 +73,7 @@ class ChildCallStackProfileCollectorTest : public testing::Test {
std::unique_ptr<Receiver> receiver_impl_;
ChildCallStackProfileCollector child_collector_;
+ private:
DISALLOW_COPY_AND_ASSIGN(ChildCallStackProfileCollectorTest);
};

Powered by Google App Engine
This is Rietveld 408576698