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

Unified Diff: base/metrics/histogram_delta_serialization.h

Issue 1463013002: Use ThreadChecker in HistogramDeltaSerialization class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_delta_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram_delta_serialization.h
diff --git a/base/metrics/histogram_delta_serialization.h b/base/metrics/histogram_delta_serialization.h
index a379914c0db48c23be5c910330c026a507431145..0bc4a5905fb8470cbd1c9884da006b6cdf57209e 100644
--- a/base/metrics/histogram_delta_serialization.h
+++ b/base/metrics/histogram_delta_serialization.h
@@ -13,6 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram_flattener.h"
#include "base/metrics/histogram_snapshot_manager.h"
+#include "base/threading/thread_checker.h"
namespace base {
@@ -45,6 +46,8 @@ class BASE_EXPORT HistogramDeltaSerialization : public HistogramFlattener {
HistogramBase::Inconsistency problem) override;
void InconsistencyDetectedInLoggedCount(int amount) override;
+ ThreadChecker thread_checker_;
+
// Calculates deltas in histogram counters.
HistogramSnapshotManager histogram_snapshot_manager_;
« no previous file with comments | « no previous file | base/metrics/histogram_delta_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698