net_instaweb::CountingWriter Class Reference

Delegates to another writer, but counts bytes along the way. More...

#include "counting_writer.h"

Inheritance diagram for net_instaweb::CountingWriter:
net_instaweb::Writer

List of all members.

Public Member Functions

 CountingWriter (Writer *writer)
virtual bool Write (const StringPiece &str, MessageHandler *handler)
virtual bool Flush (MessageHandler *handler)
int byte_count () const

Detailed Description

Delegates to another writer, but counts bytes along the way.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:34:08 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3