23 #ifndef PAGESPEED_AUTOMATIC_HTML_DETECTOR_H_
24 #define PAGESPEED_AUTOMATIC_HTML_DETECTOR_H_
26 #include "base/logging.h"
31 namespace net_instaweb {
76 DCHECK(already_decided_);
77 return probable_html_;
92 bool already_decided_;
Definition: html_detector.h:54
void ReleaseBuffered(GoogleString *out_buffer)
void ForceDecision(bool is_html)
bool probable_html() const
Precondition: already_decided() true (or ConsiderInput returning true).
Definition: html_detector.h:75
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
bool already_decided() const
Definition: html_detector.h:72
bool ConsiderInput(const StringPiece &data)