| Index: components/safe_browsing_db/v4_rice.h
|
| diff --git a/components/safe_browsing_db/v4_rice.h b/components/safe_browsing_db/v4_rice.h
|
| index b9ab9f265f334e25fedc5bbd53e95508dc934cd7..1a2e66ca05bada16ee3965faeb574545682148fa 100644
|
| --- a/components/safe_browsing_db/v4_rice.h
|
| +++ b/components/safe_browsing_db/v4_rice.h
|
| @@ -65,7 +65,7 @@ class V4RiceDecoder {
|
| // |first_value| = 3, |num_entries| = 2 and decoding the |encoded_data| will
|
| // produce the offsets: [4, 18].
|
| static V4DecodeResult DecodeIntegers(
|
| - const ::google::protobuf::int32 first_value,
|
| + const ::google::protobuf::int64 first_value,
|
| const ::google::protobuf::int32 rice_parameter,
|
| const ::google::protobuf::int32 num_entries,
|
| const std::string& encoded_data,
|
| @@ -75,7 +75,7 @@ class V4RiceDecoder {
|
| // hash prefixes and stores them in |out|. The rest of the arguments are the
|
| // same as for |DecodeIntegers|.
|
| static V4DecodeResult DecodeBytes(
|
| - const ::google::protobuf::int32 first_value,
|
| + const ::google::protobuf::int64 first_value,
|
| const ::google::protobuf::int32 rice_parameter,
|
| const ::google::protobuf::int32 num_entries,
|
| const std::string& encoded_data,
|
| @@ -90,8 +90,7 @@ class V4RiceDecoder {
|
| FRIEND_TEST_ALL_PREFIXES(V4RiceTest, TestDecoderGetNextBitsWithNoData);
|
| FRIEND_TEST_ALL_PREFIXES(V4RiceTest, TestDecoderGetNextValueWithNoData);
|
| FRIEND_TEST_ALL_PREFIXES(V4RiceTest, TestDecoderGetNextValueWithNoEntries);
|
| - FRIEND_TEST_ALL_PREFIXES(V4RiceTest, TestDecoderGetNextValueWithSmallValues);
|
| - FRIEND_TEST_ALL_PREFIXES(V4RiceTest, TestDecoderGetNextValueWithLargeValues);
|
| + friend class V4RiceTest;
|
|
|
| // Validate some of the parameters passed to the decode methods.
|
| static V4DecodeResult ValidateInput(
|
|
|