19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_USAGE_DATA_REPORTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_USAGE_DATA_REPORTER_H_
26 namespace net_instaweb {
58 const StringPiece& fetch_error) {}
63 const StringPiece& warning_message) {}
67 int64 bandwidth, StringPiece referer) {}
class GoogleUrl
Definition: google_url.h:58
virtual void ReportBandwidth(int64 project_id, const GoogleUrl &url, int64 bandwidth, StringPiece referer)
Report bandwidth.
Definition: usage_data_reporter.h:66
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual void ReportWarning(const GoogleUrl &url, int32 warning_code, const StringPiece &warning_message)
Report a warning.
Definition: usage_data_reporter.h:62
virtual void ReportFetchErrors(const GoogleString &host, const GoogleString &url, int32 error_code, const StringPiece &fetch_error)
Reports fetch errors.
Definition: usage_data_reporter.h:55
Definition: content_type.h:31
Definition: usage_data_reporter.h:35
virtual void ReportCsiBeacon(const GoogleUrl &url)
Definition: usage_data_reporter.h:44
virtual void ReportResponseData(const GoogleUrl &url, int32 response_code, const GoogleString &reason_phrase, const ContentType *content_type, int64 time_taken, const GoogleString &ip, const GoogleString &user_agent)
Reports all useful response data.
Definition: usage_data_reporter.h:47