20 #ifndef NET_INSTAWEB_AUTOMATIC_PUBLIC_CACHE_HTML_FLOW_H_
21 #define NET_INSTAWEB_AUTOMATIC_PUBLIC_CACHE_HTML_FLOW_H_
23 #include "net/instaweb/rewriter/cache_html_info.pb.h"
24 #include "net/instaweb/util/public/google_url.h"
29 namespace net_instaweb {
31 class AbstractLogRecord;
33 class FallbackPropertyPage;
36 class ProxyFetchPropertyCallbackCollector;
37 class ProxyFetchFactory;
62 static void Start(
const GoogleString& url,
70 static void InitStats(Statistics* statistics);
72 static const char kNumCacheHtmlHits[];
73 static const char kNumCacheHtmlMisses[];
74 static const char kNumCacheHtmlMatches[];
75 static const char kNumCacheHtmlMismatches[];
76 static const char kNumCacheHtmlMismatchesCacheDeletes[];
77 static const char kNumCacheHtmlSmartdiffMatches[];
78 static const char kNumCacheHtmlSmartdiffMismatches[];
87 void CacheHtmlLookupDone();
92 void CacheHtmlRewriteDone(
bool flushed_split_js);
103 void CacheHtmlMiss();
106 void TriggerProxyFetch();
113 GoogleUrl google_url_;
117 scoped_ptr<AbstractLogRecord> cache_html_log_record_;
123 MessageHandler* handler_;
124 CacheHtmlInfo cache_html_info_;
125 scoped_ptr<LogHelper> cache_html_log_helper_;
127 TimedVariable* num_cache_html_misses_;
128 TimedVariable* num_cache_html_hits_;
Definition: cache_html_flow.h:54
static const char kBackgroundComputationDone[]
Definition: cache_html_flow.h:56
Definition: property_cache.h:323
Definition: proxy_fetch.h:178
Definition: async_fetch.h:53
Definition: rewrite_driver.h:98
Definition: server_context.h:100
Definition: proxy_fetch.h:62
Definition: rewrite_options.h:81
Definition: fallback_property_page.h:38