19 #ifndef NET_INSTAWEB_REWRITER_IMAGE_TESTING_PEER_H_
20 #define NET_INSTAWEB_REWRITER_IMAGE_TESTING_PEER_H_
25 namespace net_instaweb {
33 static void SetResizedDimensions(
const ImageDim& dim,
Image* image) {
37 static bool ShouldConvertToProgressive(int64 quality,
Image* image) {
virtual void SetResizedDimensions(const ImageDim &dim)=0
Inject desired resized dimensions directly for testing.
virtual bool ShouldConvertToProgressive(int64 quality) const =0
Definition: image_testing_peer.h:29