21 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_FILE_INPUT_RESOURCE_H_
22 #define NET_INSTAWEB_REWRITER_PUBLIC_FILE_INPUT_RESOURCE_H_
24 #include "net/instaweb/http/public/request_context.h"
26 #include "pagespeed/kernel/base/basictypes.h"
27 #include "pagespeed/kernel/base/string.h"
28 #include "pagespeed/kernel/base/string_util.h"
30 namespace net_instaweb {
35 class ResponseHeaders;
41 const ContentType* type,
43 StringPiece filename);
55 virtual GoogleString
url()
const {
return url_; }
60 void SetDefaultHeaders(
const ContentType* content_type,
61 ResponseHeaders* header, MessageHandler* handler);
64 const RequestContextPtr& request_context,
65 AsyncCallback* callback);
69 GoogleString filename_;
70 int64 last_modified_time_sec_;
71 int64 load_from_file_cache_ttl_ms_;
72 bool load_from_file_ttl_set_;
Definition: resource.h:57
NotCacheablePolicy
Definition: resource.h:68
Definition: rewrite_driver.h:98