Loading libbinderwrapper/real_binder_wrapper.h +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ #ifndef SYSTEM_CORE_LIBBINDERWRAPPER_REAL_BINDER_WRAPPER_H_ #define SYSTEM_CORE_LIBBINDERWRAPPER_REAL_BINDER_WRAPPER_H_ #include <map> #include <base/macros.h> #include <binderwrapper/binder_wrapper.h> Loading metricsd/uploader/metrics_log_base.cc +3 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ #include "uploader/metrics_log_base.h" #include <memory> #include "base/build_time.h" #include "base/metrics/histogram_base.h" #include "base/metrics/histogram_samples.h" Loading Loading @@ -125,7 +127,7 @@ void MetricsLogBase::RecordHistogramDelta(const std::string& histogram_name, histogram_proto->set_name_hash(Hash(histogram_name)); histogram_proto->set_sum(snapshot.sum()); for (scoped_ptr<SampleCountIterator> it = snapshot.Iterator(); !it->Done(); for (std::unique_ptr<SampleCountIterator> it = snapshot.Iterator(); !it->Done(); it->Next()) { HistogramBase::Sample min; HistogramBase::Sample max; Loading Loading
libbinderwrapper/real_binder_wrapper.h +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ #ifndef SYSTEM_CORE_LIBBINDERWRAPPER_REAL_BINDER_WRAPPER_H_ #define SYSTEM_CORE_LIBBINDERWRAPPER_REAL_BINDER_WRAPPER_H_ #include <map> #include <base/macros.h> #include <binderwrapper/binder_wrapper.h> Loading
metricsd/uploader/metrics_log_base.cc +3 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ #include "uploader/metrics_log_base.h" #include <memory> #include "base/build_time.h" #include "base/metrics/histogram_base.h" #include "base/metrics/histogram_samples.h" Loading Loading @@ -125,7 +127,7 @@ void MetricsLogBase::RecordHistogramDelta(const std::string& histogram_name, histogram_proto->set_name_hash(Hash(histogram_name)); histogram_proto->set_sum(snapshot.sum()); for (scoped_ptr<SampleCountIterator> it = snapshot.Iterator(); !it->Done(); for (std::unique_ptr<SampleCountIterator> it = snapshot.Iterator(); !it->Done(); it->Next()) { HistogramBase::Sample min; HistogramBase::Sample max; Loading