Index: components/rappor/bloom_filter.h |
diff --git a/components/rappor/bloom_filter.h b/components/rappor/bloom_filter.h |
index 482f1c3668eeadff185ba9ead35aa4b90cf70e2a..20adfab5fcea0750c0cd211b16cc1a4f91005efb 100644 |
--- a/components/rappor/bloom_filter.h |
+++ b/components/rappor/bloom_filter.h |
@@ -47,6 +47,17 @@ class BloomFilter { |
DISALLOW_COPY_AND_ASSIGN(BloomFilter); |
}; |
+ |
+namespace internal { |
+ |
+// A function for getting bloom filters less than or equal to 64 bits. |
+uint64_t GetBloomBits(uint32_t bytes_size, |
+ uint32_t hash_function_count, |
+ uint32_t hash_seed_offset, |
+ const std::string& str); |
+ |
+} // namespace internal |
+ |
} // namespace rappor |
#endif // COMPONENTS_RAPPOR_BLOOM_FILTER_H_ |