| Index: components/rappor/bloom_filter.h
|
| diff --git a/components/rappor/bloom_filter.h b/components/rappor/bloom_filter.h
|
| index d9acfa4efce9aead751059d2b87ab544036a70f3..3ca1e8273e13311e625847c10aa6ebdda847afcc 100644
|
| --- a/components/rappor/bloom_filter.h
|
| +++ b/components/rappor/bloom_filter.h
|
| @@ -28,9 +28,15 @@ class BloomFilter {
|
| // Add a single string to the Bloom filter.
|
| void AddString(const std::string& str);
|
|
|
| + // Clears all bloom filter bits.
|
| + void Clear();
|
| +
|
| // Returns the current value of the Bloom filter's bit array.
|
| const ByteVector& bytes() const { return bytes_; };
|
|
|
| + // Sets bytes for testing purposes.
|
| + void SetBytesForTesting(const ByteVector& bytes);
|
| +
|
| private:
|
| // Stores the byte array of the Bloom filter.
|
| ByteVector bytes_;
|
|
|