OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/metrics/sample_vector.h" | 5 #include "base/metrics/sample_vector.h" |
6 | 6 |
| 7 #include <limits.h> |
| 8 #include <stddef.h> |
| 9 |
7 #include <vector> | 10 #include <vector> |
8 | 11 |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/metrics/bucket_ranges.h" | 13 #include "base/metrics/bucket_ranges.h" |
11 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
13 | 16 |
14 namespace base { | 17 namespace base { |
15 namespace { | 18 namespace { |
16 | 19 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 samples.Accumulate(2, 100); | 258 samples.Accumulate(2, 100); |
256 it = samples.Iterator(); | 259 it = samples.Iterator(); |
257 EXPECT_FALSE(it->Done()); | 260 EXPECT_FALSE(it->Done()); |
258 } | 261 } |
259 | 262 |
260 #endif | 263 #endif |
261 // (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) && GTEST_HAS_DEATH_TEST | 264 // (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) && GTEST_HAS_DEATH_TEST |
262 | 265 |
263 } // namespace | 266 } // namespace |
264 } // namespace base | 267 } // namespace base |
OLD | NEW |