Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
lizan committed Apr 7, 2017
1 parent 0d6e51f commit e009bdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/envoy/transcoding/envoy_input_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ int64_t EnvoyInputStream::BytesAvailable() const {
return buffer_.length() - position_;
}

} // namespace Grpc
} // namespace Grpc
8 changes: 5 additions & 3 deletions src/envoy/transcoding/envoy_input_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ class EnvoyInputStream
// TranscoderInputStream
virtual bool Next(const void **data, int *size) override;
virtual void BackUp(int count) override;
virtual bool Skip(int count) override { return false; } // Not implemented
virtual google::protobuf::int64 ByteCount() const override { return byte_count_; }
virtual bool Skip(int count) override { return false; } // Not implemented
virtual google::protobuf::int64 ByteCount() const override {
return byte_count_;
}
virtual int64_t BytesAvailable() const override;

private:
Expand All @@ -46,4 +48,4 @@ class EnvoyInputStream
bool finished_{false};
};

} // namespace Grpc
} // namespace Grpc
1 change: 0 additions & 1 deletion src/envoy/transcoding/envoy_input_stream_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,5 @@ TEST_F(EnvoyInputStreamTest, Finish) {

EXPECT_EQ(4, buffer.length());
}

}
}

0 comments on commit e009bdb

Please sign in to comment.