Commit 9c478b22 authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Minor comment update in stack_sampling_profiler.h

This is a cleanup CL following crrev.com/c/1114213.

Bug: 851163
Change-Id: I1e694737f26a3fa5e35ef7afe486e3866b3b86db
Reviewed-on: https://chromium-review.googlesource.com/1115283Reviewed-by: default avatarMike Wittman <wittman@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570497}
parent f7bb8233
...@@ -42,7 +42,7 @@ class NativeStackSamplerTestDelegate; ...@@ -42,7 +42,7 @@ class NativeStackSamplerTestDelegate;
// base::StackSamplingProfiler profiler(base::PlatformThread::CurrentId()), // base::StackSamplingProfiler profiler(base::PlatformThread::CurrentId()),
// params); // params);
// //
// // Or, to process the profiles, use a custom completed callback: // // To process the profiles, use a custom completed callback:
// base::StackStackSamplingProfiler::CompletedCallback // base::StackStackSamplingProfiler::CompletedCallback
// thread_safe_callback = ...; // thread_safe_callback = ...;
// auto profile_builder = // auto profile_builder =
...@@ -61,7 +61,7 @@ class NativeStackSamplerTestDelegate; ...@@ -61,7 +61,7 @@ class NativeStackSamplerTestDelegate;
// //
// When a call stack profile is complete, or the profiler is stopped, // When a call stack profile is complete, or the profiler is stopped,
// SamplingProfileBuilder's OnProfileCompleted function is called from a thread // SamplingProfileBuilder's OnProfileCompleted function is called from a thread
// created by the profiler with the collected profile. // created by the profiler.
class BASE_EXPORT StackSamplingProfiler { class BASE_EXPORT StackSamplingProfiler {
public: public:
// Module represents the module (DLL or exe) corresponding to a stack frame. // Module represents the module (DLL or exe) corresponding to a stack frame.
...@@ -262,7 +262,7 @@ class BASE_EXPORT StackSamplingProfiler { ...@@ -262,7 +262,7 @@ class BASE_EXPORT StackSamplingProfiler {
// builds a CallStackProfile. // builds a CallStackProfile.
// //
// The results of the profile building -- a CallStackProfile, is passed to the // The results of the profile building -- a CallStackProfile, is passed to the
// completed callbacks. A CallStackProfile contains a set of Samples and // completed callback. A CallStackProfile contains a set of Samples and
// Modules, and other sampling information. One Sample corresponds to a single // Modules, and other sampling information. One Sample corresponds to a single
// recorded stack, and the Modules record those modules associated with the // recorded stack, and the Modules record those modules associated with the
// recorded stack frames. // recorded stack frames.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment