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

Unified Diff: base/metrics/histogram_snapshot_manager.h

Issue 2836993002: Add ThreadChecker to HistogramSnapshotManager. (Closed)
Patch Set: remove dead code (InspectLoggedSamplesInconsistency) Created 3 years, 8 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
« no previous file with comments | « no previous file | base/metrics/histogram_snapshot_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram_snapshot_manager.h
diff --git a/base/metrics/histogram_snapshot_manager.h b/base/metrics/histogram_snapshot_manager.h
index de4a2e195a1a725a789f0cd346ae84f023681881..b2cd85cfd8126954fb8408ee66c090919ec88a81 100644
--- a/base/metrics/histogram_snapshot_manager.h
+++ b/base/metrics/histogram_snapshot_manager.h
@@ -14,6 +14,7 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/metrics/histogram_base.h"
+#include "base/threading/thread_checker.h"
namespace base {
@@ -88,6 +89,8 @@ class BASE_EXPORT HistogramSnapshotManager {
// deltas.
HistogramFlattener* histogram_flattener_; // Weak.
+ ThreadChecker thread_checker_;
+
DISALLOW_COPY_AND_ASSIGN(HistogramSnapshotManager);
};
« no previous file with comments | « no previous file | base/metrics/histogram_snapshot_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698