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

Unified Diff: base/task_scheduler/task_scheduler_impl.h

Issue 2420973002: Plumb Task Scheduler Histograms to the Task Scheduler Internals Page (Closed)
Patch Set: Created 4 years, 2 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: base/task_scheduler/task_scheduler_impl.h
diff --git a/base/task_scheduler/task_scheduler_impl.h b/base/task_scheduler/task_scheduler_impl.h
index f49cccc80e4856833aab0a632b87971c14e9bcc8..cd72e021c21b028cb410d86fb0d1fc4468ca0fad 100644
--- a/base/task_scheduler/task_scheduler_impl.h
+++ b/base/task_scheduler/task_scheduler_impl.h
@@ -8,7 +8,6 @@
#include <stddef.h>
#include <memory>
-#include <string>
#include <vector>
#include "base/base_export.h"
@@ -28,6 +27,7 @@
namespace base {
+class HistogramBase;
class SchedulerWorkerPoolParams;
namespace internal {
@@ -58,6 +58,7 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler {
scoped_refptr<TaskRunner> CreateTaskRunnerWithTraits(
const TaskTraits& traits,
ExecutionMode execution_mode) override;
+ std::vector<const HistogramBase*> GetHistograms() override;
void Shutdown() override;
void FlushForTesting() override;

Powered by Google App Engine
This is Rietveld 408576698