HistogramSamples 185 base/metrics/histogram.cc int Histogram::FindCorruption(const HistogramSamples& samples) const { HistogramSamples 277 base/metrics/histogram.cc scoped_ptr<HistogramSamples> Histogram::SnapshotSamples() const { HistogramSamples 278 base/metrics/histogram.cc return SnapshotSampleVector().PassAs<HistogramSamples>(); HistogramSamples 281 base/metrics/histogram.cc void Histogram::AddSamples(const HistogramSamples& samples) { HistogramSamples 433 base/metrics/histogram.h virtual int FindCorruption(const HistogramSamples& samples) const OVERRIDE; HistogramSamples 462 base/metrics/histogram.h virtual scoped_ptr<HistogramSamples> SnapshotSamples() const OVERRIDE; HistogramSamples 463 base/metrics/histogram.h virtual void AddSamples(const HistogramSamples& samples) OVERRIDE; HistogramSamples 95 base/metrics/histogram_base.cc int HistogramBase::FindCorruption(const HistogramSamples& samples) const { HistogramSamples 25 base/metrics/histogram_base.h class HistogramSamples; HistogramSamples 121 base/metrics/histogram_base.h virtual void AddSamples(const HistogramSamples& samples) = 0; HistogramSamples 131 base/metrics/histogram_base.h virtual int FindCorruption(const HistogramSamples& samples) const; HistogramSamples 135 base/metrics/histogram_base.h virtual scoped_ptr<HistogramSamples> SnapshotSamples() const = 0; HistogramSamples 86 base/metrics/histogram_delta_serialization.cc const HistogramSamples& snapshot) { HistogramSamples 42 base/metrics/histogram_delta_serialization.h const HistogramSamples& snapshot) OVERRIDE; HistogramSamples 37 base/metrics/histogram_delta_serialization_unittest.cc scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); HistogramSamples 47 base/metrics/histogram_delta_serialization_unittest.cc scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); HistogramSamples 16 base/metrics/histogram_flattener.h class HistogramSamples; HistogramSamples 25 base/metrics/histogram_flattener.h const HistogramSamples& snapshot) = 0; HistogramSamples 61 base/metrics/histogram_samples.cc HistogramSamples::HistogramSamples() : sum_(0), redundant_count_(0) {} HistogramSamples 63 base/metrics/histogram_samples.cc HistogramSamples::~HistogramSamples() {} HistogramSamples 65 base/metrics/histogram_samples.cc void HistogramSamples::Add(const HistogramSamples& other) { HistogramSamples 75 base/metrics/histogram_samples.cc bool HistogramSamples::AddFromPickle(PickleIterator* iter) { HistogramSamples 91 base/metrics/histogram_samples.cc void HistogramSamples::Subtract(const HistogramSamples& other) { HistogramSamples 101 base/metrics/histogram_samples.cc bool HistogramSamples::Serialize(Pickle* pickle) const { HistogramSamples 121 base/metrics/histogram_samples.cc void HistogramSamples::IncreaseSum(int64 diff) { HistogramSamples 125 base/metrics/histogram_samples.cc void HistogramSamples::IncreaseRedundantCount(HistogramBase::Count diff) { HistogramSamples 20 base/metrics/histogram_samples.h class BASE_EXPORT HistogramSamples { HistogramSamples 22 base/metrics/histogram_samples.h HistogramSamples(); HistogramSamples 23 base/metrics/histogram_samples.h virtual ~HistogramSamples(); HistogramSamples 30 base/metrics/histogram_samples.h virtual void Add(const HistogramSamples& other); HistogramSamples 35 base/metrics/histogram_samples.h virtual void Subtract(const HistogramSamples& other); HistogramSamples 46 base/metrics/histogram_snapshot_manager.cc scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples()); HistogramSamples 80 base/metrics/histogram_snapshot_manager.cc HistogramSamples* to_log; HistogramSamples 81 base/metrics/histogram_snapshot_manager.cc map<string, HistogramSamples*>::iterator it = HistogramSamples 89 base/metrics/histogram_snapshot_manager.cc HistogramSamples* already_logged = it->second; HistogramSamples 101 base/metrics/histogram_snapshot_manager.cc const HistogramSamples& new_snapshot, HistogramSamples 102 base/metrics/histogram_snapshot_manager.cc HistogramSamples* logged_samples) { HistogramSamples 16 base/metrics/histogram_snapshot_manager.h class HistogramSamples; HistogramSamples 46 base/metrics/histogram_snapshot_manager.h const HistogramSamples& new_snapshot, HistogramSamples 47 base/metrics/histogram_snapshot_manager.h HistogramSamples* logged_samples); HistogramSamples 51 base/metrics/histogram_snapshot_manager.h std::map<std::string, HistogramSamples*> logged_samples_; HistogramSamples 22 base/metrics/histogram_snapshot_manager_unittest.cc const HistogramSamples& snapshot) OVERRIDE { HistogramSamples 85 base/metrics/histogram_unittest.cc scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); HistogramSamples 48 base/metrics/sample_map.cc HistogramSamples::Operator op) { HistogramSamples 56 base/metrics/sample_map.cc sample_counts_[min] += (op == HistogramSamples::ADD) ? count : -count; HistogramSamples 20 base/metrics/sample_map.h class BASE_EXPORT_PRIVATE SampleMap : public HistogramSamples { HistogramSamples 36 base/metrics/sample_map.h HistogramSamples::Operator op) OVERRIDE; // |op| is ADD or SUBTRACT. HistogramSamples 57 base/metrics/sample_vector.cc HistogramSamples::Operator op) { HistogramSamples 72 base/metrics/sample_vector.cc old_counts + ((op == HistogramSamples::ADD) ? count : -count)); HistogramSamples 23 base/metrics/sample_vector.h class BASE_EXPORT_PRIVATE SampleVector : public HistogramSamples { HistogramSamples 42 base/metrics/sample_vector.h HistogramSamples::Operator op) OVERRIDE; // |op| is ADD or SUBTRACT. HistogramSamples 55 base/metrics/sparse_histogram.cc scoped_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { HistogramSamples 60 base/metrics/sparse_histogram.cc return snapshot.PassAs<HistogramSamples>(); HistogramSamples 63 base/metrics/sparse_histogram.cc void SparseHistogram::AddSamples(const HistogramSamples& samples) { HistogramSamples 118 base/metrics/sparse_histogram.cc scoped_ptr<HistogramSamples> snapshot = SnapshotSamples(); HistogramSamples 55 base/metrics/sparse_histogram.h class HistogramSamples; HistogramSamples 72 base/metrics/sparse_histogram.h virtual void AddSamples(const HistogramSamples& samples) OVERRIDE; HistogramSamples 74 base/metrics/sparse_histogram.h virtual scoped_ptr<HistogramSamples> SnapshotSamples() const OVERRIDE; HistogramSamples 49 base/metrics/sparse_histogram_unittest.cc scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); HistogramSamples 54 base/metrics/sparse_histogram_unittest.cc scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); HistogramSamples 60 base/metrics/sparse_histogram_unittest.cc scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); HistogramSamples 81 base/metrics/sparse_histogram_unittest.cc scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples(); HistogramSamples 31 base/test/statistics_delta_reader.cc scoped_ptr<HistogramSamples> HistogramSamples 36 base/test/statistics_delta_reader.cc return scoped_ptr<HistogramSamples>(); HistogramSamples 37 base/test/statistics_delta_reader.cc scoped_ptr<HistogramSamples> named_samples(histogram->SnapshotSamples()); HistogramSamples 38 base/test/statistics_delta_reader.cc HistogramSamples* named_original_samples = original_samples_[histogram_name]; HistogramSamples 16 base/test/statistics_delta_reader.h class HistogramSamples; HistogramSamples 27 base/test/statistics_delta_reader.h scoped_ptr<HistogramSamples> GetHistogramSamplesSinceCreation( HistogramSamples 34 base/test/statistics_delta_reader.h std::map<std::string, HistogramSamples*> original_samples_; HistogramSamples 21 base/test/statistics_delta_reader_unittest.cc scoped_ptr<HistogramSamples> samples( HistogramSamples 274 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc scoped_ptr<base::HistogramSamples> original_samples_; HistogramSamples 19 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc base::HistogramSamples* base) HistogramSamples 45 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); HistogramSamples 14 chrome/browser/chromeos/net/network_portal_detector_test_utils.h class HistogramSamples; HistogramSamples 23 chrome/browser/chromeos/net/network_portal_detector_test_utils.h base::HistogramSamples* base); HistogramSamples 42 chrome/browser/chromeos/net/network_portal_detector_test_utils.h base::HistogramSamples* base_; HistogramSamples 87 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = HistogramSamples 95 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = HistogramSamples 132 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = HistogramSamples 161 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = HistogramSamples 191 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = HistogramSamples 273 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = HistogramSamples 280 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = HistogramSamples 290 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = HistogramSamples 297 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = HistogramSamples 123 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc const base::HistogramSamples& samples) { HistogramSamples 150 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc scoped_ptr<base::HistogramSamples> snapshot = HistogramSamples 99 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 113 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 30 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc using base::HistogramSamples; HistogramSamples 104 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name); HistogramSamples 156 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name); HistogramSamples 194 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name.c_str()); HistogramSamples 213 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> GetHistogram(const char* name) { HistogramSamples 214 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples; HistogramSamples 244 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc std::map<std::string, HistogramSamples*> original_samples_; HistogramSamples 497 chrome/browser/password_manager/password_manager_browsertest.cc scoped_ptr<base::HistogramSamples> snapshot = HistogramSamples 166 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamples( HistogramSamples 198 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> refresh_samples_; HistogramSamples 201 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> invalidations_samples_; HistogramSamples 433 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> HistogramSamples 439 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc return scoped_ptr<base::HistogramSamples>(new base::SampleMap()); HistogramSamples 82 chrome/browser/prefs/pref_hash_browsertest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 99 chrome/browser/prerender/prerender_util_unittest.cc scoped_ptr<base::HistogramSamples> server_samples; HistogramSamples 100 chrome/browser/prerender/prerender_util_unittest.cc scoped_ptr<base::HistogramSamples> version_samples; HistogramSamples 35 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc using base::HistogramSamples; HistogramSamples 1130 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<HistogramSamples> baseline = histogram->SnapshotSamples(); HistogramSamples 1142 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); HistogramSamples 1159 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); HistogramSamples 48 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( HistogramSamples 79 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( HistogramSamples 107 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples; HistogramSamples 121 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( HistogramSamples 17 chrome/common/metrics/metrics_log_base.cc using base::HistogramSamples; HistogramSamples 125 chrome/common/metrics/metrics_log_base.cc const HistogramSamples& snapshot) { HistogramSamples 22 chrome/common/metrics/metrics_log_base.h class HistogramSamples; HistogramSamples 63 chrome/common/metrics/metrics_log_base.h const base::HistogramSamples& snapshot); HistogramSamples 41 chrome/common/metrics/metrics_service_base.cc const base::HistogramSamples& snapshot) { HistogramSamples 15 chrome/common/metrics/metrics_service_base.h class HistogramSamples; HistogramSamples 25 chrome/common/metrics/metrics_service_base.h const base::HistogramSamples& snapshot) OVERRIDE; HistogramSamples 41 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 53 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 69 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { HistogramSamples 79 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { HistogramSamples 39 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); HistogramSamples 43 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); HistogramSamples 33 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamples( HistogramSamples 99 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamplesDelta( HistogramSamples 101 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( HistogramSamples 110 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( HistogramSamples 117 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( HistogramSamples 143 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> initial_histogram_samples_ HistogramSamples 145 components/precache/core/precache_database_unittest.cc std::map<std::string, base::HistogramSamples*> initial_histogram_samples_map_; HistogramSamples 357 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_precache_motivated_bytes( HistogramSamples 365 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_non_precache_bytes( HistogramSamples 371 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_non_precache_bytes_cellular( HistogramSamples 377 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> saved_bytes( HistogramSamples 383 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> saved_bytes_cellular( HistogramSamples 16 components/translate/core/browser/translate_browser_metrics_unittest.cc using base::HistogramSamples; HistogramSamples 101 components/translate/core/browser/translate_browser_metrics_unittest.cc scoped_ptr<HistogramSamples> base_samples_; HistogramSamples 102 components/translate/core/browser/translate_browser_metrics_unittest.cc scoped_ptr<HistogramSamples> samples_; HistogramSamples 16 components/translate/core/common/translate_metrics_unittest.cc using base::HistogramSamples; HistogramSamples 150 components/translate/core/common/translate_metrics_unittest.cc scoped_ptr<HistogramSamples> base_samples_; HistogramSamples 151 components/translate/core/common/translate_metrics_unittest.cc scoped_ptr<HistogramSamples> samples_; HistogramSamples 194 dbus/signal_sender_verification_unittest.cc scoped_ptr<base::HistogramSamples> samples1( HistogramSamples 204 dbus/signal_sender_verification_unittest.cc scoped_ptr<base::HistogramSamples> samples2( HistogramSamples 169 net/cert/multi_log_ct_verifier_unittest.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); HistogramSamples 2287 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples1( HistogramSamples 2301 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples2( HistogramSamples 2308 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples3( HistogramSamples 251 net/disk_cache/blockfile/stats.cc void Stats::Snapshot(base::HistogramSamples* samples) const { HistogramSamples 16 net/disk_cache/blockfile/stats.h class HistogramSamples; HistogramSamples 89 net/disk_cache/blockfile/stats.h void Snapshot(base::HistogramSamples* samples) const; HistogramSamples 19 net/disk_cache/blockfile/stats_histogram.cc using base::HistogramSamples; HistogramSamples 77 net/disk_cache/blockfile/stats_histogram.cc scoped_ptr<HistogramSamples> StatsHistogram::SnapshotSamples() const { HistogramSamples 86 net/disk_cache/blockfile/stats_histogram.cc return samples.PassAs<HistogramSamples>(); HistogramSamples 89 net/disk_cache/blockfile/stats_histogram.cc int StatsHistogram::FindCorruption(const HistogramSamples& samples) const { HistogramSamples 15 net/disk_cache/blockfile/stats_histogram.h class HistogramSamples; HistogramSamples 47 net/disk_cache/blockfile/stats_histogram.h virtual scoped_ptr<base::HistogramSamples> SnapshotSamples() const OVERRIDE; HistogramSamples 49 net/disk_cache/blockfile/stats_histogram.h const base::HistogramSamples& samples) const OVERRIDE; HistogramSamples 18 net/socket_stream/socket_stream_metrics_unittest.cc using base::HistogramSamples; HistogramSamples 27 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> original; HistogramSamples 46 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 58 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> original; HistogramSamples 81 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 93 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> original; HistogramSamples 112 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); HistogramSamples 127 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> original; HistogramSamples 165 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples; HistogramSamples 219 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( HistogramSamples 234 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( HistogramSamples 228 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> GetSamples(const std::string& name) { HistogramSamples 232 net/websockets/websocket_stream_test.cc : scoped_ptr<base::HistogramSamples>(); HistogramSamples 1037 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); HistogramSamples 1049 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); HistogramSamples 1061 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); HistogramSamples 1074 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); HistogramSamples 1086 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); HistogramSamples 1105 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name));