Index: base/metrics/bucket_ranges.h |
=================================================================== |
--- base/metrics/bucket_ranges.h (revision 148055) |
+++ base/metrics/bucket_ranges.h (working copy) |
@@ -41,8 +41,8 @@ |
// Checksum methods to verify whether the ranges are corrupted (e.g. bad |
// memory access). |
- uint32 CalculateChecksum(); |
- bool HasValidChecksum(); |
+ uint32 CalculateChecksum() const; |
+ bool HasValidChecksum() const; |
void ResetChecksum(); |
// Return true iff |other| object has same ranges_ as |this| object's ranges_. |
@@ -64,6 +64,10 @@ |
DISALLOW_COPY_AND_ASSIGN(BucketRanges); |
}; |
+////////////////////////////////////////////////////////////////////////////// |
+// Expose only for test. |
+BASE_EXPORT_PRIVATE extern const uint32 kCrcTable[256]; |
+ |
} // namespace base |
#endif // BASE_METRICS_BUCKET_RANGES_H_ |