| Index: components/subresource_filter/core/common/unindexed_ruleset.h
|
| diff --git a/components/subresource_filter/core/common/unindexed_ruleset.h b/components/subresource_filter/core/common/unindexed_ruleset.h
|
| index 62b417bcf2637ffbf7586628f3547ef425e8e944..af847ea8a06a6d55385841aa22eebd499883c2ed 100644
|
| --- a/components/subresource_filter/core/common/unindexed_ruleset.h
|
| +++ b/components/subresource_filter/core/common/unindexed_ruleset.h
|
| @@ -42,6 +42,9 @@ class UnindexedRulesetReader {
|
| // ReadNextChunk is undefined befaviour.
|
| bool ReadNextChunk(proto::FilteringRules* chunk);
|
|
|
| + // Returns how many bytes of the |stream| have been consumed.
|
| + int num_bytes_read() const { return coded_stream_.CurrentPosition(); }
|
| +
|
| private:
|
| google::protobuf::io::CodedInputStream coded_stream_;
|
|
|
|
|