Chromium Code Reviews| Index: base/metrics/user_metrics.h |
| diff --git a/base/metrics/user_metrics.h b/base/metrics/user_metrics.h |
| index bcfefb809942e203590dfd9db7672cc56f861c7c..e491127bf12678a809cd91800c679730a3a75712 100644 |
| --- a/base/metrics/user_metrics.h |
| +++ b/base/metrics/user_metrics.h |
| @@ -10,6 +10,7 @@ |
| #include "base/base_export.h" |
| #include "base/callback.h" |
| #include "base/metrics/user_metrics_action.h" |
| +#include "base/single_thread_task_runner.h" |
| namespace base { |
| @@ -55,6 +56,11 @@ typedef base::Callback<void(const std::string&)> ActionCallback; |
| BASE_EXPORT void AddActionCallback(const ActionCallback& callback); |
| BASE_EXPORT void RemoveActionCallback(const ActionCallback& callback); |
| +// Set the task runner on which to do the thread hopping. |
|
Ilya Sherman
2016/04/06 02:36:29
nit: Perhaps "Set the task runner on which to reco
beaudoin
2016/04/06 15:06:13
Done.
|
| +BASE_EXPORT void SetRecordActionTaskRunner( |
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
| + |
| + |
|
Ilya Sherman
2016/04/06 02:36:29
nit: Spurious newline
beaudoin
2016/04/06 15:06:13
Done.
|
| } // namespace base |
| #endif // BASE_METRICS_USER_METRICS_H_ |