19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_NOTIFYING_FETCH_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_NOTIFYING_FETCH_H_
30 namespace net_instaweb {
46 StringPiece content() {
return content_; }
47 bool done() {
return done_; }
48 bool success() {
return success_; }
51 void HandleHeadersComplete()
override {}
52 bool HandleWrite(
const StringPiece& content,
MessageHandler* handler)
55 void HandleDone(
bool success)
override;
Definition: notifying_fetch.h:37
virtual const RequestContextPtr & request_context()
Definition: async_fetch.h:151
ResponseHeaders * response_headers()
See doc for request_headers and set_request_headers.
A way for one thread to wait for another.
Definition: worker_test_base.h:71
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: async_fetch.h:53
Definition: message_handler.h:39
Definition: rewrite_options.h:84
bool IsCachedResultValid(const ResponseHeaders &headers) override